Fix doom//reload-autoloads not reloading autoloads file

doom-packages--async-run doesn't return anything. Whoops!
This commit is contained in:
Henrik Lissner 2018-01-08 22:46:57 -05:00
parent ca3f955a93
commit 42f4d10d6d
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -538,8 +538,9 @@ This should be run whenever init.el or an autoload file is modified. Running
(if (not noninteractive)
;; This is done in another instance to protect the current session's
;; state. `doom-initialize-packages' will have side effects otherwise.
(and (doom-packages--async-run 'doom//reload-autoloads)
(load doom-autoload-file))
(progn
(doom-packages--async-run 'doom//reload-autoloads)
(load doom-autoload-file))
(doom-initialize-packages t)
(let ((targets
(file-expand-wildcards