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

From: Philip Kaludercic <[email-masked]>
Date: Tue, 11 Oct 2022 20:09:42 +0000

Lars Ingebrigtsen <[email-masked]> writes:

> Philip Kaludercic <[email-masked]> writes:
>
>> No, but these themes are built-in, and to my knowledge not distributed
>> on ELPA (or at least changes in emacs.git are not exported to ELPA.  The
>> Modus Themes are manually synchronised), so it shouldn't make any
>> difference.  If so, I'll revert the changes where necessary.
>
> Ah, OK, then that's fine.

Great, can you point me to the places I would have to make changes for
this to work:

        add a function to loaddefs-gen that only fetched those for the
        Emacs build (it'd almost be trivial -- we just bind
        lisp-mode-autoload-regexp to ";;;###theme-autoload" and then
        point the scraping function at etc/themes).