mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-30 17:01:02 -05:00
Add comment wrt load-theme not disabling previous themes
This commit is contained in:
@@ -606,6 +606,9 @@ behavior). Do not set this directly, this is let-bound in `doom-init-theme-h'.")
|
|||||||
(unless no-enable
|
(unless no-enable
|
||||||
(setq doom-theme theme
|
(setq doom-theme theme
|
||||||
doom-init-theme-p t)
|
doom-init-theme-p t)
|
||||||
|
;; `load-theme' doesn't disable previously enabled themes, which seems
|
||||||
|
;; like what you'd want. You could always use `enable-theme' to activate
|
||||||
|
;; multiple themes instead.
|
||||||
(mapc #'disable-theme (remq theme custom-enabled-themes))
|
(mapc #'disable-theme (remq theme custom-enabled-themes))
|
||||||
(run-hooks 'doom-load-theme-hook))
|
(run-hooks 'doom-load-theme-hook))
|
||||||
result)))
|
result)))
|
||||||
|
Reference in New Issue
Block a user