Fix #3871: void-function doom-autoload-error

Due to calling an error as if it were a function.
This commit is contained in:
Henrik Lissner 2020-08-31 00:01:13 -04:00
parent 2337f14563
commit 8f64a0eb31
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -544,7 +544,7 @@ to least)."
"run 'doom sync' on the command line to repair it"))
;; Otherwise, something inside the autoloads file is triggering this
;; error; forward it!
(apply #'doom-autoload-error e))))
(signal 'doom-autoload-error e))))
;; Load shell environment, optionally generated from 'doom env'. No need
;; to do so if we're in terminal Emacs, where Emacs correctly inherits