aboutsummaryrefslogtreecommitdiffstats
path: root/java/org/gnu
diff options
context:
space:
mode:
authorJim Porter2024-08-23 15:11:24 -0700
committerJim Porter2024-08-25 10:05:37 -0700
commit55aad592e177dc2c503ebe9ad2a46e227683315e (patch)
treea3cc0445164ab2370cf043fd66c36a5dec0c4b44 /java/org/gnu
parent3a8222e700304e4dff84fcdfa8ff2a4e48646c82 (diff)
downloademacs-55aad592e177dc2c503ebe9ad2a46e227683315e.tar.gz
emacs-55aad592e177dc2c503ebe9ad2a46e227683315e.zip
Improve computation of indent depth in SHR and 'visual-wrap-prefix-mode'
Now, we get the average-width of the current font using 'string-pixel-width' and a specified space display spec, which doesn't require the buffer to be displayed in a window (bug#72771). * lisp/net/shr.el (shr-indent): * lisp/visual-wrap.el (visual-wrap--content-prefix): Fix getting the font when the buffer isn't displayed in a window. (visual-wrap-fill-context-prefix): Fix indentation.
Diffstat (limited to 'java/org/gnu')
0 files changed, 0 insertions, 0 deletions