Revise & update comments
Fix reference to old name of a hook function.
This commit is contained in:
parent
270b381ce0
commit
1f839b4423
1 changed files with 3 additions and 3 deletions
6
init.el
6
init.el
|
@ -52,10 +52,10 @@ decrease this. If you experience stuttering, increase this.")
|
||||||
(setq gc-cons-threshold doom-gc-cons-threshold)
|
(setq gc-cons-threshold doom-gc-cons-threshold)
|
||||||
;; A big contributor to startup times is garbage collection. We up the gc
|
;; A big contributor to startup times is garbage collection. We up the gc
|
||||||
;; threshold to temporarily prevent it from running, then reset it later in
|
;; threshold to temporarily prevent it from running, then reset it later in
|
||||||
;; `doom|disable-startup-optimizations'.
|
;; `doom|restore-startup-optimizations'.
|
||||||
(setq gc-cons-threshold doom-gc-cons-upper-limit)
|
(setq gc-cons-threshold doom-gc-cons-upper-limit)
|
||||||
;; This is consulted on every `require', `load' and various file reading
|
;; This is consulted on every `require', `load' and various path/io functions.
|
||||||
;; functions. You get a minor speed up by nooping this.
|
;; You get a minor speed up by nooping this.
|
||||||
(setq file-name-handler-alist nil)
|
(setq file-name-handler-alist nil)
|
||||||
;; Not restoring these to their defaults will cause stuttering/freezes.
|
;; Not restoring these to their defaults will cause stuttering/freezes.
|
||||||
(add-hook 'emacs-startup-hook #'doom|restore-startup-optimizations))
|
(add-hook 'emacs-startup-hook #'doom|restore-startup-optimizations))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue