mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Init custom hooks on init-ui instead of post-init
Makes more sense to be on doom-init-ui-hook.
This commit is contained in:
@ -403,7 +403,7 @@ from the default."
|
|||||||
(if disable
|
(if disable
|
||||||
(advice-remove (car spec) (cdr spec))
|
(advice-remove (car spec) (cdr spec))
|
||||||
(advice-add (car spec) :around (cdr spec)))))
|
(advice-add (car spec) :around (cdr spec)))))
|
||||||
(add-hook 'doom-post-init-hook #'doom|init-custom-hooks)
|
(add-hook 'doom-init-ui-hook #'doom|init-custom-hooks)
|
||||||
|
|
||||||
(defun doom*load-theme-hooks (theme &rest _)
|
(defun doom*load-theme-hooks (theme &rest _)
|
||||||
(setq doom-theme theme)
|
(setq doom-theme theme)
|
||||||
|
Reference in New Issue
Block a user