General formatting & minor refactors

This commit is contained in:
Henrik Lissner 2018-09-02 17:18:31 +02:00
parent daef19ba64
commit 3a23ff56cd
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
7 changed files with 22 additions and 22 deletions

View file

@ -372,7 +372,8 @@ frame's window-system, the theme will be reloaded.")
;; frames, however. There's always `doom/reload-theme' if you need it!
(defun doom|reload-theme-in-frame-maybe (frame)
"Reloads the theme in new daemon or tty frames."
(when (and (framep frame)
(when (and doom-theme
(framep frame)
(not (eq doom-last-window-system (framep-on-display frame))))
(with-selected-frame frame
(load-theme doom-theme t))