doom--display-benchmark => doom-packages--display-benchmark
This commit is contained in:
parent
903ac3f0ef
commit
8e8ddeda5f
1 changed files with 2 additions and 2 deletions
|
@ -291,7 +291,7 @@ include all modules, enabled or otherwise."
|
||||||
(cl-loop for key being the hash-keys of doom-modules
|
(cl-loop for key being the hash-keys of doom-modules
|
||||||
collect key))
|
collect key))
|
||||||
|
|
||||||
(defun doom--display-benchmark ()
|
(defun doom-packages--display-benchmark ()
|
||||||
(message "Doom loaded %s packages across %d modules in %.03fs"
|
(message "Doom loaded %s packages across %d modules in %.03fs"
|
||||||
;; Certainly imprecise, especially where custom additions to
|
;; Certainly imprecise, especially where custom additions to
|
||||||
;; load-path are concerned, but I don't mind a [small] margin of
|
;; load-path are concerned, but I don't mind a [small] margin of
|
||||||
|
@ -328,7 +328,7 @@ MODULES is an malformed plist of modules to load."
|
||||||
(unless (server-running-p)
|
(unless (server-running-p)
|
||||||
(server-start)))
|
(server-start)))
|
||||||
|
|
||||||
(add-hook 'doom-init-hook #'doom--display-benchmark t)
|
(add-hook 'doom-init-hook #'doom-packages--display-benchmark t)
|
||||||
(message "Doom modules initialized"))))
|
(message "Doom modules initialized"))))
|
||||||
|
|
||||||
(defmacro def-package! (name &rest plist)
|
(defmacro def-package! (name &rest plist)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue