aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorJacob S. Gordon2026-01-09 16:20:00 -0500
committerEli Zaretskii2026-01-17 14:48:06 +0200
commitbd96450a09fc268fed35c0e8e8e181bed346c770 (patch)
treed1bbb56162793eababc78874cbb36052a05ac2b8 /lisp/progmodes/python.el
parent5020d89104dfc25601ca595bca9124a27ea8b1cb (diff)
downloademacs-bd96450a09fc268fed35c0e8e8e181bed346c770.tar.gz
emacs-bd96450a09fc268fed35c0e8e8e181bed346c770.zip
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.
Diffstat (limited to 'lisp/progmodes/python.el')
0 files changed, 0 insertions, 0 deletions