]> git.eshelyaron.com Git - emacs.git/commit
Add more "safe" display specs to 'visual-wrap-prefix-mode'
authorJim Porter <jporterbugs@gmail.com>
Sat, 31 May 2025 05:21:40 +0000 (22:21 -0700)
committerEshel Yaron <me@eshelyaron.com>
Sat, 7 Jun 2025 19:53:55 +0000 (21:53 +0200)
commit091a9cd11694b9031a0037476ee4a795949f4645
tree2954c3b949e177654db982bc723e3079cda0c2a7
parent1ec10fb17fd86fa46ac9abd3cc8c1c738dde086a
Add more "safe" display specs to 'visual-wrap-prefix-mode'

* lisp/visual-wrap.el (visual-wrap--safe-display-specs): Add
'space-width' and 'min-width'.
(visual-wrap--display-property-safe-p): Use 'member' instead of 'memq'
to more-closely match the behavior of other code that works with display
properties.

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