From cb6dd300b4914944f2a6919901c886cd5f8a9678 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 29 Apr 2020 21:22:58 -0400 Subject: [PATCH] Add comment wrt load-theme not disabling previous themes --- core/core-ui.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/core-ui.el b/core/core-ui.el index ff4d6ad8b..80c172265 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -606,6 +606,9 @@ behavior). Do not set this directly, this is let-bound in `doom-init-theme-h'.") (unless no-enable (setq doom-theme theme 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)) (run-hooks 'doom-load-theme-hook)) result)))