Use (emacs-init-time) instead of manual benchmark

This commit is contained in:
Henrik Lissner 2016-10-02 23:31:45 +02:00
parent 1fbf7c0afa
commit ceece44fec
2 changed files with 1 additions and 4 deletions

View File

@ -89,9 +89,7 @@
'face 'font-lock-keyword-face)
(concat
"\n\n"
(s-trim-right (s-center (max 0 (- width 2))
(format "Loaded in %.3fs"
(float-time (time-subtract after-init-time emacs-start-time)))))))))
(s-trim-right (s-center (max 0 (- width 2)) (format "Loaded in %s" (emacs-init-time))))))))
(back-to-indentation)
(doom|update-scratch-buffer nil t)

View File

@ -28,7 +28,6 @@
;;
;;; License: MIT
(defconst emacs-start-time (current-time))
(load (concat user-emacs-directory "core/core"))
(doom :theme 'doom-one