Require straight.el in doom/reload-packages

Because it's not loaded for some reason.

Also, require is not a big problem IMO: if you run this interactively, the
require cost probably doesn't matter much already.

Fixes #1618.
This commit is contained in:
Oleksii Filonenko 2019-07-30 14:44:10 +03:00
parent 40eb9cf17e
commit ec45c9367a
No known key found for this signature in database
GPG Key ID: F3510FE5691629A1

View File

@ -197,6 +197,8 @@ ones."
(defun doom/reload-packages ()
"Reload `doom-packages', `package' and `quelpa'."
(interactive)
;; HACK straight.el must be loaded for this to work
(require 'straight)
(message "Reloading packages")
(doom-initialize-packages t)
(message "Reloading packages...DONE"))