Suppress 'void-variable: after-init-time' error #1358
Old versions of Emacs complain about after-init-time being undefined. This happens before Doom's version guard is triggered (which emits a more helpful message).
This commit is contained in:
parent
2066206e83
commit
c6fc47cc8d
1 changed files with 1 additions and 1 deletions
2
init.el
2
init.el
|
@ -48,7 +48,7 @@ decrease this. If you experience stuttering, increase this.")
|
|||
3 nil (lambda () (setq-default gc-cons-threshold doom-gc-cons-threshold))))
|
||||
|
||||
|
||||
(if (or after-init-time noninteractive)
|
||||
(if (ignore-errors (or after-init-time noninteractive))
|
||||
(setq gc-cons-threshold doom-gc-cons-threshold)
|
||||
;; 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue