fix(lib): update doom/reload & doom/reload-autoloads
To reflect changes to bootstrapper made in1402db5
. Amend:1402db5129
Fix: #6470
This commit is contained in:
parent
33d9e741b0
commit
837f404fbc
1 changed files with 2 additions and 5 deletions
|
@ -79,7 +79,7 @@ Runs `doom-after-reload-hook' afterwards."
|
||||||
(doom--if-compile (format "%S sync -e" doom-bin)
|
(doom--if-compile (format "%S sync -e" doom-bin)
|
||||||
(let ((doom-reloading-p t))
|
(let ((doom-reloading-p t))
|
||||||
(doom-run-hooks 'doom-before-reload-hook)
|
(doom-run-hooks 'doom-before-reload-hook)
|
||||||
(doom-initialize 'force)
|
(load "core-start")
|
||||||
(with-demoted-errors "PRIVATE CONFIG ERROR: %s"
|
(with-demoted-errors "PRIVATE CONFIG ERROR: %s"
|
||||||
(general-auto-unbind-keys)
|
(general-auto-unbind-keys)
|
||||||
(unwind-protect
|
(unwind-protect
|
||||||
|
@ -100,10 +100,7 @@ remove orphaned ones. It also doesn't reload your private config.
|
||||||
It is useful to only pull in changes performed by 'doom sync' on the command
|
It is useful to only pull in changes performed by 'doom sync' on the command
|
||||||
line."
|
line."
|
||||||
(interactive)
|
(interactive)
|
||||||
(require 'core-cli)
|
(load (file-name-sans-extension doom-autoloads-file) nil 'nomessage))
|
||||||
(require 'core-packages)
|
|
||||||
(doom-initialize-packages)
|
|
||||||
(doom-autoloads-reload))
|
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun doom/reload-env ()
|
(defun doom/reload-env ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue