summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2023-06-21 12:59:09 +0200
committerAlan Pearce2023-06-21 12:59:09 +0200
commitba904dd7386f785e3865358549625586de2879df (patch)
treea1db59d44f913f2e3d5185c65c1cf3467d38136b /user/emacs
parent8f47d540ce6b1b56aebfa427e9f7d2d7e44e9bb4 (diff)
downloadnixfiles-ba904dd7386f785e3865358549625586de2879df.tar.lz
nixfiles-ba904dd7386f785e3865358549625586de2879df.tar.zst
nixfiles-ba904dd7386f785e3865358549625586de2879df.zip
Emacs: always trace init time
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 88730f1e..38a28d8c 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -30,6 +30,10 @@
 (defun quiet (original-function &rest args)
   (quietly (apply original-function args)))
 
+(use-package benchmark-init
+  :config (progn
+            (add-hook 'after-init-hook #'benchmark-init/deactivate 99)))
+
 ;;; Customize
 
 (setq custom-file (expand-file-name "custom.el" user-emacs-directory))