From fef242aa34824254b85eba12f64d8fcab5f26be6 Mon Sep 17 00:00:00 2001 From: Hyunggyu Jang Date: Wed, 12 May 2021 14:08:51 +0900 Subject: [PATCH] Fix bin/doom compile error introduced by e2a11d24fd4ea With a commit of e2a11d24fd4ea20fb198493b3dd12742c4fad6b0, when it comes to `doom compile`, modules aren't loaded anymore, which corrupts the compiling process. What I did is just adding the necessity parts for the doom's byte compiler. --- 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 f42e1fe38..86f399366 100644 --- a/core/cli/byte-compile.el +++ b/core/cli/byte-compile.el @@ -101,7 +101,8 @@ If RECOMPILE-P is non-nil, only recompile out-of-date files." (noninteractive t) doom-interactive-p) (doom-initialize 'force) - (quiet! (doom-initialize-packages)))) + (quiet! (doom-initialize-packages)) + (quiet! (doom-initialize-modules)))) (if (null targets) (print! (info "No targets to %scompile" (if recompile-p "re" "")))