mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Comment autoloads file deletion in 'doom refresh'
This commit is contained in:
@ -243,12 +243,14 @@ stale."
|
|||||||
(when (file-exists-p doom-env-file)
|
(when (file-exists-p doom-env-file)
|
||||||
(doom-cli-reload-env-file 'force))
|
(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
|
(mapc #'doom--cli-delete-autoloads-file
|
||||||
(list doom-autoload-file
|
(list doom-autoload-file
|
||||||
doom-package-autoload-file))
|
doom-package-autoload-file))
|
||||||
|
|
||||||
(doom-initialize 'force 'noerror)
|
(doom-initialize 'force 'noerror)
|
||||||
(doom-initialize-modules)
|
(doom-initialize-modules)
|
||||||
|
|
||||||
(doom-cli-reload-core-autoloads (not if-necessary-p))
|
(doom-cli-reload-core-autoloads (not if-necessary-p))
|
||||||
(unwind-protect
|
(unwind-protect
|
||||||
(progn
|
(progn
|
||||||
|
Reference in New Issue
Block a user