diff options
| author | Jim Porter | 2024-07-27 20:48:38 -0700 |
|---|---|---|
| committer | Jim Porter | 2024-08-04 10:46:28 -0700 |
| commit | f70a6ea0ea86ef461e40d20664a75a92d02679ea (patch) | |
| tree | 63b555139d21a08e2701acfd23b1cca9f0300025 /src | |
| parent | 0756f3085ea948c945e309e2ce347fc5ab836574 (diff) | |
| download | emacs-f70a6ea0ea86ef461e40d20664a75a92d02679ea.tar.gz emacs-f70a6ea0ea86ef461e40d20664a75a92d02679ea.zip | |
Add support for variable-pitch fonts in 'visual-wrap-prefix-mode'
* lisp/emacs-lisp/subr-x.el (string-pixel-width): Allow passing BUFFER
to use the face remappings from that buffer when calculating the width.
* lisp/visual-wrap.el (visual-wrap--prefix): Rename to...
(visual-wrap--adjust-prefix): ... this, and support PREFIX as a number.
(visual-wrap-fill-context-prefix): Make obsolete in favor of...
(visual-wrap--content-prefix): ... this.
(visual-wrap-prefix-function): Extract inside of loop into...
(visual-wrap--apply-to-line): ... this.
* doc/lispref/display.texi (Size of Displayed Text): Update
documentation for 'string-pixel-width'.
* etc/NEWS: Announce this change.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions