mirror of
https://github.com/protesilaos/modus-themes.git
synced 2026-09-10 07:16:30 -04:00
Refine modus-themes--disable-themes (see 2b046ec)
This commit is contained in:
parent
76c9a218b8
commit
63e9e799f4
|
|
@ -1077,9 +1077,10 @@ overrides."
|
|||
|
||||
(defun modus-themes--disable-themes ()
|
||||
"Disable themes per `modus-themes-disable-other-themes'."
|
||||
(if modus-themes-disable-other-themes
|
||||
(mapc #'disable-theme custom-enabled-themes)
|
||||
(mapc #'disable-theme (modus-themes--list-known-themes))))
|
||||
(mapc #'disable-theme
|
||||
(if modus-themes-disable-other-themes
|
||||
custom-enabled-themes
|
||||
(modus-themes--list-known-themes))))
|
||||
|
||||
(defun modus-themes-load-theme (theme)
|
||||
"Load THEME while disabling other themes.
|
||||
|
|
|
|||
Loading…
Reference in a new issue