summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-10-19 17:01:50 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-10-19 17:01:50 +0200
commita1f26d272c08b21ce9bf9083488cc34464532cc5 (patch)
treeb86d21949b6c465653bef9932a47a2faab647b67 /.config/emacs
parenta6131d6724eb4f9d27ef794be45dc202ff082093 (diff)
emacs: Make ‘mm-echo-init-time’ a hook function
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/init.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 3511602..b73a7fa 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -287,4 +287,7 @@ the buffer without saving it."
;;; Postamble
-(message (emacs-init-time "Emacs initialized in %.2f seconds"))
+(add-hook 'after-init-hook
+ (defun mm-echo-init-time ()
+ (message (emacs-init-time "Emacs initialized in %.2f seconds")))
+ 100)