diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-10-19 17:01:50 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-10-19 17:01:50 +0200 |
commit | a1f26d272c08b21ce9bf9083488cc34464532cc5 (patch) | |
tree | b86d21949b6c465653bef9932a47a2faab647b67 /.config/emacs/init.el | |
parent | a6131d6724eb4f9d27ef794be45dc202ff082093 (diff) |
emacs: Make ‘mm-echo-init-time’ a hook function
Diffstat (limited to '.config/emacs/init.el')
-rw-r--r-- | .config/emacs/init.el | 5 |
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) |