From ec45c9367ac2192f04b8f65b8d69c7a696b995e9 Mon Sep 17 00:00:00 2001 From: Oleksii Filonenko Date: Tue, 30 Jul 2019 14:44:10 +0300 Subject: [PATCH] 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. --- core/autoload/packages.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/autoload/packages.el b/core/autoload/packages.el index 290fef7b3..c9c814b4a 100644 --- a/core/autoload/packages.el +++ b/core/autoload/packages.el @@ -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"))