emacs/lisp/calc
Jacob S. Gordon bd96450a09 calc: Improve handling of invalid 'calc-string-maximum-character'
Previously, if 'calc-string-maximum-character' wasn't a valid
character 'math-vector-is-string' would throw an error in the
comparison, leading to an incomplete display of the stack and a
cryptic error message.  Instead, have 'math-vector-is-string'
return nil, which effectively disables the display of strings.
Refines feature introduced in bug#78528.
* doc/misc/calc.texi (Customizing Calc): Update description of
behavior for invalid 'calc-string-maximum-character'.
* lisp/calc/calccomp.el (math-vector-is-string): Return nil when
'calc-string-maximum-character' doesn't represent a character.
* test/lisp/calc/calc-tests.el (calc-math-vector-is-string): Correct
and simplify tests.
2026-01-17 14:48:06 +02:00
..
calc-aent.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-alg.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-arith.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-bin.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-comb.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-cplx.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-embed.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-ext.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-fin.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-forms.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-frac.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-funcs.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-graph.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-help.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-incom.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-keypd.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-lang.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-macs.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-map.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-math.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-menu.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-misc.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-mode.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-mtx.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-nlfit.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-poly.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-prog.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-rewr.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-rules.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-sel.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-stat.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-store.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-stuff.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-trail.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-undo.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-units.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-vec.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc-yank.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calc.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calcalg2.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calcalg3.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calccomp.el calc: Improve handling of invalid 'calc-string-maximum-character' 2026-01-17 14:48:06 +02:00
calcsel2.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00