From e69f29cba5220193725b2efbfe40c380b2e59567 Mon Sep 17 00:00:00 2001 From: Random936 Date: Tue, 12 Sep 2023 20:21:31 -0700 Subject: [PATCH] Improved the display-startup-time function --- .emacs.d/config.org | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.emacs.d/config.org b/.emacs.d/config.org index afa70ed..46f476a 100644 --- a/.emacs.d/config.org +++ b/.emacs.d/config.org @@ -44,10 +44,8 @@ This function times the startup to tell you how long it took for the Emacs confi #+begin_src emacs-lisp (defun jm/display-startup-time () - (message "Emacs loaded in %s with %d garbage collections." - (format "%.2f seconds" - (float-time - (time-subtract after-init-time before-init-time))) + (message "Emacs loaded in %.2f seconds with %d garbage collections." + (float-time (time-subtract after-init-time before-init-time)) gcs-done)) (add-hook 'emacs-startup-hook 'jm/display-startup-time) @@ -68,7 +66,6 @@ Disable tabs and replace them with a custom number of spaces. #+begin_src emacs-lisp (setq-default indent-tabs-mode nil) ; Use spaces instead of tabs. (setq-default tab-width 4) - (setq-default evil-shift-width tab-width) ; C Indentation