aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorJacob S. Gordon2026-01-09 16:21:00 -0500
committerEli Zaretskii2026-01-17 14:49:53 +0200
commitb233ca80e939c939633b37c41398eb1bb12cb4e9 (patch)
tree35a6b0114af6d9e34234f09c4a10cdfff54974be /lisp/progmodes/python.el
parentbd96450a09fc268fed35c0e8e8e181bed346c770 (diff)
downloademacs-b233ca80e939c939633b37c41398eb1bb12cb4e9.tar.gz
emacs-b233ca80e939c939633b37c41398eb1bb12cb4e9.zip
; calc: Improve alignment for Unicode strings
With higher values of 'calc-string-maximum-character' the string length can differ from the displayed width. Calculate alignment offsets based on the the display width, rounded up to the nearest integer. Refines feature introduced in bug#78528. * lisp/calc/calccomp.el (math-comp-width): Replace 'length' with a ratio of 'string-pixel-width's.
Diffstat (limited to 'lisp/progmodes/python.el')
0 files changed, 0 insertions, 0 deletions