Change doom-theme on load-theme
This commit is contained in:
parent
0b8f884d18
commit
4603a4e113
1 changed files with 2 additions and 1 deletions
|
@ -357,7 +357,8 @@ from the default."
|
|||
(advice-add #'switch-to-buffer :around #'doom*switch-buffer-hooks)
|
||||
(advice-add #'display-buffer :around #'doom*switch-buffer-hooks)
|
||||
|
||||
(defun doom*load-theme-hooks (&rest _)
|
||||
(defun doom*load-theme-hooks (theme &rest _)
|
||||
(setq doom-theme theme)
|
||||
(run-hook-with-args 'doom-load-theme-hook))
|
||||
(advice-add #'load-theme :after #'doom*load-theme-hooks)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue