mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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)))
|
||||
|
Reference in New Issue
Block a user