Add internal doom-customize-theme-hook
Ensures custom-set-faces! take effect before any load-theme hooks.
This commit is contained in:
parent
74a4700486
commit
f3d8053933
2 changed files with 3 additions and 2 deletions
|
@ -130,7 +130,8 @@ behavior). Do not set this directly, this is let-bound in `doom|init-theme'.")
|
|||
"Set up `doom-load-theme-hook' to run after `load-theme' is called."
|
||||
(unless no-enable
|
||||
(setq doom-theme theme)
|
||||
(run-hooks 'doom-load-theme-hook)))
|
||||
(run-hooks 'doom-customize-theme-hook
|
||||
'doom-load-theme-hook)))
|
||||
|
||||
(defun doom|protect-fallback-buffer ()
|
||||
"Don't kill the scratch buffer. Meant for `kill-buffer-query-functions'."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue