mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix #1764: 'doom autoload' generating broken autoloads.pkg.el
Due to missing straight state that is properly initialized for 'doom refresh' (by doom-packages-install), but not for 'doom autoloads'.
This commit is contained in:
@ -27,6 +27,8 @@ byte-compiles `doom-autoload-file', as well as `doom-package-autoload-file'
|
|||||||
|
|
||||||
It also caches `load-path', `Info-directory-list', `doom-disabled-packages',
|
It also caches `load-path', `Info-directory-list', `doom-disabled-packages',
|
||||||
`package-activated-list' and `auto-mode-alist'."
|
`package-activated-list' and `auto-mode-alist'."
|
||||||
|
;; REVIEW Can we avoid calling `straight-check-all' everywhere?
|
||||||
|
(straight-check-all)
|
||||||
(doom-reload-autoloads nil 'force))
|
(doom-reload-autoloads nil 'force))
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user