Comment autoloads file deletion in 'doom refresh'
This commit is contained in:
parent
d525b5502b
commit
cd3190b594
1 changed files with 3 additions and 1 deletions
|
@ -243,12 +243,14 @@ stale."
|
|||
(when (file-exists-p doom-env-file)
|
||||
(doom-cli-reload-env-file 'force))
|
||||
|
||||
;; Ensures that no pre-existing state pollutes the generation of the new
|
||||
;; autoloads files.
|
||||
(mapc #'doom--cli-delete-autoloads-file
|
||||
(list doom-autoload-file
|
||||
doom-package-autoload-file))
|
||||
|
||||
(doom-initialize 'force 'noerror)
|
||||
(doom-initialize-modules)
|
||||
|
||||
(doom-cli-reload-core-autoloads (not if-necessary-p))
|
||||
(unwind-protect
|
||||
(progn
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue