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:
parent
d308cedf95
commit
a44e9153d3
1 changed files with 2 additions and 0 deletions
|
@ -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',
|
||||
`package-activated-list' and `auto-mode-alist'."
|
||||
;; REVIEW Can we avoid calling `straight-check-all' everywhere?
|
||||
(straight-check-all)
|
||||
(doom-reload-autoloads nil 'force))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue