fix(lib): update doom/reload & doom/reload-autoloads

To reflect changes to bootstrapper made in 1402db5.

Amend: 1402db5129
Fix: #6470
This commit is contained in:
Henrik Lissner
2022-06-19 11:29:12 +02:00
parent 33d9e741b0
commit 837f404fbc

View File

@ -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 ()