From ceece44fec93e2b2739525c3692f0060804bf177 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 2 Oct 2016 23:31:45 +0200 Subject: [PATCH] Use (emacs-init-time) instead of manual benchmark --- core/core-scratch.el | 4 +--- init.el | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/core/core-scratch.el b/core/core-scratch.el index 21bf751e5..28b090b03 100644 --- a/core/core-scratch.el +++ b/core/core-scratch.el @@ -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) diff --git a/init.el b/init.el index 4eb6df5a8..1b641c181 100644 --- a/init.el +++ b/init.el @@ -28,7 +28,6 @@ ;; ;;; License: MIT -(defconst emacs-start-time (current-time)) (load (concat user-emacs-directory "core/core")) (doom :theme 'doom-one