summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/bytecomp-resources
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2021-05-27 12:24:29 +0300
committerEli Zaretskii <eliz@gnu.org>2021-05-27 12:24:29 +0300
commitc82afdcc88442fcfb5ee076aef13dd9721a98192 (patch)
tree737d635fa4567f4f6b322ee4658ec6c538b7b988 /test/lisp/emacs-lisp/bytecomp-resources
parent7f11dea66298c2c9aeccab2b542ee8e73346f09f (diff)
downloademacs-c82afdcc88442fcfb5ee076aef13dd9721a98192.tar.gz
emacs-c82afdcc88442fcfb5ee076aef13dd9721a98192.tar.bz2
emacs-c82afdcc88442fcfb5ee076aef13dd9721a98192.zip
A better fix for 'string-width'
* src/character.c (lisp_string_width): Compute the width when automatic compositions can happen more accurately, by using the pixel widths of the grapheme clusters, divided by the default face's font width. Disregard the current state of 'auto-composition-mode', for consistency with 'current-column' .
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources')
0 files changed, 0 insertions, 0 deletions