]> git.eshelyaron.com Git - emacs.git/commit
Fix bad fontification of inactive widgets
authorMauro Aranda <maurooaranda@gmail.com>
Mon, 24 Feb 2025 22:39:43 +0000 (19:39 -0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 26 Feb 2025 09:36:23 +0000 (10:36 +0100)
commit424d483baa98165ccd270704b7181a32ec6e7205
tree1d88893535c81aea603fb87dd4b75826c6a53bba
parentaab6a6b9d3518153ccafdd6a96f135f123b4a10a
Fix bad fontification of inactive widgets

* lisp/wid-edit.el (widget-specify-inactive): When a widget is
already inactive, still move the overlay to the desired
positions.  Improve docstring.  (Bug#69941)

* doc/misc/widget.texi (default): Document the need to call the
:deactivate function when modifying an inactive widget.

* test/lisp/wid-edit-tests.el
(widget-test-modification-of-inactive-widget): New test

(cherry picked from commit 363adcc69d322bdede1934b47e9dd1fbc3148ab9)
doc/misc/widget.texi
lisp/wid-edit.el
test/lisp/wid-edit-tests.el