Subject: bug#57639: [PATCH] Add new command 'toggle-theme'

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 11 Oct 2022 02:25:06 +0200

Philip Kaludercic <[email-masked]> writes:

> I am not sure how that is done exactly, but if we take the
> ";;;###theme-autoload" approach it should be able to have a handler to
> convert autoloaded (defcustom ...) forms in to (put ...) ones:

Yes.  But as noted before, since many themes are distributed via ELPA
(too), we can't really change the definition of deftheme.