Remove FORCE-P argument for doom-cli-reload-autoloads

We weren't using them anyway.
This commit is contained in:
Henrik Lissner 2019-12-30 06:44:16 -05:00
parent bb425a2e65
commit 908bd4b945
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
6 changed files with 45 additions and 73 deletions

View file

@ -255,7 +255,7 @@ stale."
(doom-initialize 'force 'noerror)
(doom-initialize-modules)
(doom-cli-reload-autoloads 'core (not if-necessary-p))
(doom-cli-reload-autoloads 'core)
(unwind-protect
(progn
(and (doom-cli-packages-install)
@ -264,7 +264,7 @@ stale."
(setq success t))
(and (doom-cli-packages-purge prune-p 'builds-p prune-p prune-p)
(setq success t)))
(doom-cli-reload-autoloads 'package (or success (not if-necessary-p)))
(doom-cli-reload-autoloads 'package)
(doom-cli-byte-compile nil 'recompile))
t)))