mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
fix: doom/reload: void-variable doom-module-init-file
Fix: #8147
Amend: 8cafbe4408
This commit is contained in:
parent
1d3c2db274
commit
e2c1801e6a
1 changed files with 1 additions and 2 deletions
|
|
@ -104,9 +104,8 @@ Runs `doom-after-reload-hook' afterwards."
|
|||
(interactive)
|
||||
(mapc #'require (cdr doom-incremental-packages))
|
||||
(doom--if-compile doom-reload-command
|
||||
(with-doom-context '(reload module)
|
||||
(with-doom-context 'reload
|
||||
(doom-run-hooks 'doom-before-reload-hook)
|
||||
(doom-load (file-name-concat doom-user-dir doom-module-init-file) t)
|
||||
(with-demoted-errors "PRIVATE CONFIG ERROR: %s"
|
||||
(general-auto-unbind-keys)
|
||||
(unwind-protect
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue