mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Prevent void-variable errors on 'doom upgrade'
If Doom is up-to-date, certain Doom package state doesn't get initialized for the 'doom update' that occurs directly after, causing these errors.
This commit is contained in:
@ -13,9 +13,11 @@ following shell commands:
|
|||||||
bin/doom refresh
|
bin/doom refresh
|
||||||
bin/doom update"
|
bin/doom update"
|
||||||
:bare t
|
:bare t
|
||||||
(and (doom-cli-upgrade doom-auto-accept force-p)
|
(when (doom-cli-upgrade doom-auto-accept force-p)
|
||||||
(doom-cli-packages-update)
|
(doom-initialize)
|
||||||
(doom-cli-reload-package-autoloads 'force-p)))
|
(doom-initialize-packages)
|
||||||
|
(when (doom-cli-packages-update)
|
||||||
|
(doom-cli-reload-package-autoloads 'force-p))))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user