|
From: | Dmitry Gutov |
Subject: | Re: Representation of the Emacs userbase on emacs-devel |
Date: | Mon, 6 Sep 2021 17:52:19 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 06.09.2021 17:46, Stefan Monnier wrote:
Perhaps we could extend the themes mechanism so that when a theme is enabled, and when it is disabled, a particular hook is run.No need: a theme can already run the code it likes.
I was thinking more about the time when it's disabled.
In the worst case, it can provide its own global minor modes and then set those modes's Custom vars to the values it likes.
That should work, thanks.
[Prev in Thread] | Current Thread | [Next in Thread] |