mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Use (emacs-init-time) instead of manual benchmark
This commit is contained in:
@ -89,9 +89,7 @@
|
|||||||
'face 'font-lock-keyword-face)
|
'face 'font-lock-keyword-face)
|
||||||
(concat
|
(concat
|
||||||
"\n\n"
|
"\n\n"
|
||||||
(s-trim-right (s-center (max 0 (- width 2))
|
(s-trim-right (s-center (max 0 (- width 2)) (format "Loaded in %s" (emacs-init-time))))))))
|
||||||
(format "Loaded in %.3fs"
|
|
||||||
(float-time (time-subtract after-init-time emacs-start-time)))))))))
|
|
||||||
(back-to-indentation)
|
(back-to-indentation)
|
||||||
(doom|update-scratch-buffer nil t)
|
(doom|update-scratch-buffer nil t)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user