]> git.eshelyaron.com Git - emacs.git/commit
Allow changing theme settings without reloading it
authorMauro Aranda <maurooaranda@gmail.com>
Sun, 9 Mar 2025 12:22:29 +0000 (09:22 -0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 12 Mar 2025 18:41:33 +0000 (19:41 +0100)
commit7b9a0d4924406a4659bc290d2956126f259e87d2
treee53e2f7c360be2b565f6ae31345cf4d2e34a9350
parent5df49e5d6f80ce949a6a76dba6cc6d59a7067603
Allow changing theme settings without reloading it

* lisp/custom.el (custom--should-apply-setting): Return non-nil
for an enabled theme.  Provide docstring.  This allows for users
to reevaluate a custom-theme-set-* function and see the settings
applied right away.  (Bug#76685)
(custom--inhibit-theme-enable): Adapt docstring.

* etc/NEWS: Announce the new behavior.

(cherry picked from commit 203747b87fbf976fda887d0652b05685447b8d65)
lisp/custom.el