Stop reloading theme on every new frame
It was slow and unnecessary (doom-themes and solaire-mode support terminal colors already).
This commit is contained in:
parent
a0593cc097
commit
47216117cc
1 changed files with 1 additions and 4 deletions
|
@ -657,10 +657,7 @@ startup (or theme switch) time, so long as `doom--prefer-theme-elc' is non-nil."
|
|||
(advice-add fn :around #'doom-run-switch-buffer-hooks-a)))
|
||||
|
||||
;; Apply `doom-theme'
|
||||
(add-hook (if (daemonp)
|
||||
'after-make-frame-functions
|
||||
'doom-init-ui-hook)
|
||||
#'doom-init-theme-h)
|
||||
(add-hook 'doom-init-ui-hook #'doom-init-theme-h)
|
||||
;; Apply `doom-font' et co
|
||||
(add-hook 'doom-after-init-modules-hook #'doom-init-fonts-h)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue