aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorJacob S. Gordon2026-01-09 16:22:00 -0500
committerEli Zaretskii2026-01-17 14:51:01 +0200
commit6e37af1fe89316fa921539340fcce9af94e9e69d (patch)
treea76a3f0d8b5836bf0d94dbce346b341d40e650bb /lisp/progmodes/python.el
parentb233ca80e939c939633b37c41398eb1bb12cb4e9 (diff)
downloademacs-6e37af1fe89316fa921539340fcce9af94e9e69d.tar.gz
emacs-6e37af1fe89316fa921539340fcce9af94e9e69d.zip
; calc: Correct width of rules composed of Unicode glyphs
With higher values of 'calc-string-maximum-character', rules made up of glyphs of non-unit width can be the wrong length. Calculate the number of characters in the rule based on the display width, rounded up to the nearest integer. Refines feature introduced in bug#78528. * lisp/calc/calccomp.el (math-comp-simplify-term): Calculate rule width with a ratio of 'string-pixel-width's.
Diffstat (limited to 'lisp/progmodes/python.el')
0 files changed, 0 insertions, 0 deletions