nit: mention test env for startup optimizations

And remove "debug-mode" clause because of c20ba77.

Ref: c20ba77ff7
This commit is contained in:
Henrik Lissner 2022-09-26 12:50:13 +02:00
parent 71f7e4b5b8
commit 9f512a60bf
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -314,8 +314,10 @@ users).")
;; Here are Doom's hackiest (and least offensive) startup optimizations. They ;; Here are Doom's hackiest (and least offensive) startup optimizations. They
;; exploit implementation details and unintended side-effects, and will change ;; exploit implementation details and unintended side-effects, and will change
;; often between major Emacs releases. However, I disable them if this is a ;; often between major Emacs releases. However, I disable them if this is a
;; daemon session (where startup time matters less) or in debug-mode (to ;; daemon session (where startup time matters less).
;; mitigate interference with our debugging). ;;
;; Most of these have been tested on Linux and on fairly fast machines (with
;; SSDs), so your mileage may vary depending on your hardware.
(unless (daemonp) (unless (daemonp)
;; PERF: `file-name-handler-alist' is consulted on each call to `require', ;; PERF: `file-name-handler-alist' is consulted on each call to `require',
;; `load', or various file/io functions (like `expand-file-name' or ;; `load', or various file/io functions (like `expand-file-name' or