Add doom-(pre|post)-reload-theme-hook
This commit is contained in:
parent
7fc9cb5511
commit
cca37f2508
2 changed files with 8 additions and 1 deletions
|
@ -67,4 +67,6 @@ window changes before then, the undo expires."
|
|||
(let ((theme (or (car-safe custom-enabled-themes) doom-theme)))
|
||||
(when theme
|
||||
(mapc #'disable-theme custom-enabled-themes))
|
||||
(doom|init-ui)))
|
||||
(run-hooks 'doom-pre-reload-theme-hook)
|
||||
(doom|init-ui)
|
||||
(run-hooks 'doom-post-reload-theme-hook)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue