Use correct init hook (doom-post-init-hook)

This commit is contained in:
Henrik Lissner 2018-05-20 12:18:48 +02:00
parent 8da3f56795
commit da5c7d27cf
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 3 additions and 3 deletions

View file

@ -56,7 +56,7 @@ If any hook returns non-nil, all hooks after it are ignored.")
;; embolden local bindings
(set-face-attribute 'which-key-local-map-description-face nil :weight 'bold)
(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

View file

@ -371,7 +371,7 @@ from the default."
(advice-add #'switch-to-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))
(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 _)
(setq doom-theme theme)
@ -704,7 +704,7 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original
;;
(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)
;;; core-ui.el ends here