aboutsummaryrefslogtreecommitdiffstats
path: root/java/org/gnu
diff options
context:
space:
mode:
authorJim Porter2025-02-04 09:25:17 -0800
committerJim Porter2025-02-04 09:25:17 -0800
commit6842415577405adafcba16f8cbff02f35b5583f9 (patch)
treef79d3094614282a554fa1babf6d67ee04d70cf10 /java/org/gnu
parentb685b21a33423018f3da7695919a4d1b1ef2c9cd (diff)
downloademacs-6842415577405adafcba16f8cbff02f35b5583f9.tar.gz
emacs-6842415577405adafcba16f8cbff02f35b5583f9.zip
Improve calculation of indent prefixes when using text scaling
Previously, the display spec for the "average space" was wrong. It used a plain number for the width of the specified space, which means "N times the normal character width for the buffer", but we want "N times the normal character width for the *current face*" (bug#76008). * lisp/visual-wrap.el (visual-wrap--content-prefix): Specify the width of the "average space" in terms of the average width of the current face. * lisp/net/shr.el (shr-indent): As above, and call 'string-pixel-width' without specifying the buffer, to match 'shr-string-pixel-width'.
Diffstat (limited to 'java/org/gnu')
0 files changed, 0 insertions, 0 deletions