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:
Henrik Lissner
2018-06-14 00:48:26 +02:00
parent ac546220a4
commit b21d575eac

View File

@ -403,7 +403,7 @@ from the default."
(if disable
(advice-remove (car spec) (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 _)
(setq doom-theme theme)