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:
parent
40eb9cf17e
commit
ec45c9367a
1 changed files with 2 additions and 0 deletions
|
@ -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"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue