1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-15 11:21:19 -07:00
emacs/doc
Jim Porter f70a6ea0ea 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.
2024-08-04 10:46:28 -07:00
..
emacs Merge from origin/emacs-30 2024-07-27 04:27:53 -04:00
lispintro ; Fix punctuation in docs 2024-07-21 17:35:13 +02:00
lispref Add support for variable-pitch fonts in 'visual-wrap-prefix-mode' 2024-08-04 10:46:28 -07:00
man ; Fix punctuation in docs 2024-07-21 17:35:13 +02:00
misc Merge from origin/emacs-30 2024-07-27 04:27:53 -04:00
translations ; Fix typos 2024-06-07 23:51:18 +02:00