]> git.eshelyaron.com Git - emacs.git/commit
Fix 'min-width' calculation in 'visual-wrap-prefix-mode'
authorJim Porter <jporterbugs@gmail.com>
Sat, 19 Oct 2024 23:12:43 +0000 (16:12 -0700)
committerEshel Yaron <me@eshelyaron.com>
Tue, 22 Oct 2024 19:00:22 +0000 (21:00 +0200)
commitc0f60faf4ba5e1b4c7eb4d0c4ba416e54185b7ce
tree02d8918cf029ca2c66bd4ae8959cc46eba74bc0b
parentf5497eceefb3271819df52cf386816d5f9fe4609
Fix 'min-width' calculation in 'visual-wrap-prefix-mode'

* lisp/visual-wrap.el (visual-wrap--content-prefix): Remove 'min-width'
before computing the pixel width to avoid miscalculation (bug#73882).

(cherry picked from commit 81a5beb8af020e4c92a77d61c8aa5e637e2dc945)
lisp/visual-wrap.el