fix: ensure load-path et co are set on doom/reload
This addresses a number of missing-package errors after running doom/reload. Fix: #7764 Fix: #7636 Fix: #7182
This commit is contained in:
parent
12a765c509
commit
c0c52f0f61
1 changed files with 2 additions and 1 deletions
|
@ -368,7 +368,8 @@ Defaults to the profile at `doom-profile-default'."
|
|||
;; FIX: Make sure this only runs at startup to protect us Emacs' interpreter
|
||||
;; re-evaluating this file when lazy-loading dynamic docstrings from the
|
||||
;; byte-compiled init file.
|
||||
`((when (doom-context-p 'init)
|
||||
`((when (or (doom-context-p 'init)
|
||||
(doom-context-p 'reload))
|
||||
,@(cl-loop for var in doom-autoloads-cached-vars
|
||||
if (boundp var)
|
||||
collect `(set-default ',var ',(symbol-value var)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue