From c75b2a36ab5ef6954d4a3493db4efe30152bde86 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 25 Jul 2018 18:28:33 +0200 Subject: [PATCH] Don't reload theme at startup if already enabled --- core/core-ui.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-ui.el b/core/core-ui.el index ce86060a6..c842b9dab 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -579,7 +579,7 @@ frame's window-system, the theme will be reloaded.") (defun doom|init-theme () "Set the theme and load the font, in that order." - (when doom-theme + (when (and doom-theme (not (memq doom-theme custom-enabled-themes))) (load-theme doom-theme t))) ;; Getting themes to remain consistent across GUI Emacs, terminal Emacs and