Use correct init hook (doom-post-init-hook)
This commit is contained in:
parent
8da3f56795
commit
da5c7d27cf
2 changed files with 3 additions and 3 deletions
|
@ -56,7 +56,7 @@ If any hook returns non-nil, all hooks after it are ignored.")
|
||||||
;; embolden local bindings
|
;; embolden local bindings
|
||||||
(set-face-attribute 'which-key-local-map-description-face nil :weight 'bold)
|
(set-face-attribute 'which-key-local-map-description-face nil :weight 'bold)
|
||||||
(which-key-setup-side-window-bottom)
|
(which-key-setup-side-window-bottom)
|
||||||
(add-hook 'doom-init-hook #'which-key-mode))
|
(add-hook 'doom-post-init-hook #'which-key-mode))
|
||||||
|
|
||||||
|
|
||||||
(def-package! hydra
|
(def-package! hydra
|
||||||
|
|
|
@ -371,7 +371,7 @@ from the default."
|
||||||
(advice-add #'switch-to-buffer :around #'doom*switch-buffer-hooks)
|
(advice-add #'switch-to-buffer :around #'doom*switch-buffer-hooks)
|
||||||
(advice-add #'display-buffer :around #'doom*switch-buffer-hooks)
|
(advice-add #'display-buffer :around #'doom*switch-buffer-hooks)
|
||||||
(advice-add #'pop-to-buffer :around #'doom*switch-buffer-hooks))
|
(advice-add #'pop-to-buffer :around #'doom*switch-buffer-hooks))
|
||||||
(add-hook 'doom-init-hook #'doom|init-custom-hooks)
|
(add-hook 'doom-post-init-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)
|
||||||
|
@ -704,7 +704,7 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original
|
||||||
;;
|
;;
|
||||||
(run-hooks 'doom-init-ui-hook))
|
(run-hooks 'doom-init-ui-hook))
|
||||||
|
|
||||||
(add-hook 'doom-init-hook #'doom|init-ui)
|
(add-hook 'doom-post-init-hook #'doom|init-ui)
|
||||||
|
|
||||||
(provide 'core-ui)
|
(provide 'core-ui)
|
||||||
;;; core-ui.el ends here
|
;;; core-ui.el ends here
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue