diff options
| author | Jim Porter | 2024-08-23 15:11:24 -0700 |
|---|---|---|
| committer | Jim Porter | 2024-08-25 10:05:37 -0700 |
| commit | 55aad592e177dc2c503ebe9ad2a46e227683315e (patch) | |
| tree | a3cc0445164ab2370cf043fd66c36a5dec0c4b44 /java | |
| parent | 3a8222e700304e4dff84fcdfa8ff2a4e48646c82 (diff) | |
| download | emacs-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')
0 files changed, 0 insertions, 0 deletions