Initialize doom-init-time a little sooner (#106)
This commit is contained in:
parent
709d6c4676
commit
042da73d5d
2 changed files with 2 additions and 2 deletions
|
@ -305,7 +305,7 @@ byte-compilation."
|
|||
(unless (server-running-p)
|
||||
(server-start)))
|
||||
|
||||
(add-hook 'doom-post-init-hook #'doom--display-benchmark))))
|
||||
(add-hook 'doom-init-hook #'doom--display-benchmark t))))
|
||||
|
||||
(defmacro def-package! (name &rest plist)
|
||||
"A thin wrapper around `use-package'."
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
(when (equal (buffer-name) "*scratch*")
|
||||
(switch-to-buffer (doom-fallback-buffer))))
|
||||
|
||||
(add-hook 'window-setup-hook #'+doom-dashboard|init)
|
||||
(add-hook 'doom-post-init-hook #'+doom-dashboard|init)
|
||||
|
||||
;; Compatibility with `midnight-mode' and `clean-buffer-list'
|
||||
(after! midnight-mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue