From 9c6fd76524acee4bc92d70299ed61402d1fa601b Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Sun, 8 Jun 2025 18:25:05 -0400 Subject: [PATCH] Update README.md --- early-init.el | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/early-init.el b/early-init.el index b039bd7..b9ad89b 100644 --- a/early-init.el +++ b/early-init.el @@ -227,8 +227,13 @@ pre-early-init.el, and post-early-init.el.") ;; `inhibit-startup-screen', but it would still initialize anyway. (advice-add 'display-startup-screen :override #'ignore) - ;; Shave seconds off startup time by starting the scratch buffer in - ;; `fundamental-mode' + ;; The initial buffer is created during startup even in non-interactive + ;; sessions, and its major mode is fully initialized. Modes like `text-mode', + ;; `org-mode', or even the default `lisp-interaction-mode' load extra packages + ;; and run hooks, which can slow down startup. + ;; + ;; Using `fundamental-mode' for the initial buffer to avoid unnecessary + ;; startup overhead. (setq initial-major-mode 'fundamental-mode initial-scratch-message nil)