From a1f26d272c08b21ce9bf9083488cc34464532cc5 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 19 Oct 2024 17:01:50 +0200 Subject: emacs: Make ‘mm-echo-init-time’ a hook function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/emacs/init.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3