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
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -79,7 +79,7 @@ Runs `doom-after-reload-hook' afterwards."
(doom--if-compile (format "%S sync -e" doom-bin)
(let ((doom-reloading-p t))
(doom-run-hooks 'doom-before-reload-hook)
(doom-initialize 'force)
(load "core-start")
(with-demoted-errors "PRIVATE CONFIG ERROR: %s"
(general-auto-unbind-keys)
(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
line."
(interactive)
(require 'core-cli)
(require 'core-packages)
(doom-initialize-packages)
(doom-autoloads-reload))
(load (file-name-sans-extension doom-autoloads-file) nil 'nomessage))
;;;###autoload
(defun doom/reload-env ()