From 803da8b3b96369065f8b8f93933aee1d86e8bfdc Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 23 Nov 2019 00:12:26 -0500 Subject: [PATCH] Fix #2104: prevent double-package-init on 'doom refresh' 'Could not find package emacsmirror-mirror in recipe repositories' error, which shouldn't happen since emacsmirror-mirror is a recipe repo. --- core/cli/byte-compile.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/cli/byte-compile.el b/core/cli/byte-compile.el index 916a11ba9..e1ca66a6c 100644 --- a/core/cli/byte-compile.el +++ b/core/cli/byte-compile.el @@ -92,7 +92,8 @@ If RECOMPILE-P is non-nil, only recompile out-of-date files." ;; But first we must be sure that Doom and your private config have been ;; fully loaded. Which usually aren't so in an noninteractive session. (let ((doom-interactive-mode 'byte-compile)) - (doom-initialize 'force) + (doom-initialize) + (doom-initialize-packages) (doom-initialize-core)) ;;