nit(cli): revise comment over site-run-file loader

To better explain to the wondering reader why we're loading site-start
here.
This commit is contained in:
Henrik Lissner 2024-07-11 21:39:38 -04:00
parent 12dc195774
commit 20ee90614a
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -23,8 +23,11 @@
doom-cache-dir doom-cache-dir
doom-state-dir)) doom-state-dir))
;; HACK: Load `cl' and site files manually to prevent polluting logs and ;; HACK: bin/doom invokes Emacs with --no-site-lisp solely to allow us to load
;; stdout with deprecation and/or file load messages. ;; site-start manually, here, to suppress any output it produces, and they
;; almost always produce some. This causes premature redraws of the Emacs
;; frame during startup (to display those messages in the minibuffer), which
;; -- as I mention in the comments of doom.el -- really hurts startup time.
(quiet! (quiet!
(require 'cl nil t) (require 'cl nil t)
(unless site-run-file (unless site-run-file