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
|
@ -477,7 +477,7 @@ Each face spec must be in the format of (FACE-NAME [:ATTRIBUTE VALUE]...).
|
|||
Unlike `custom-set-faces', which destructively changes a face's spec, this one
|
||||
adjusts pre-existing ones."
|
||||
`(add-hook
|
||||
'doom-load-theme-hook
|
||||
'doom-customize-theme-hook
|
||||
(let ((fn (make-symbol "doom|init-custom-faces")))
|
||||
(fset fn
|
||||
(lambda ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue