From 74f3c1d11c4b85c88cf6901ea099bfb362768cb1 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 19 Jun 2022 01:39:32 +0200 Subject: [PATCH] fix(cli): doom {compile,clean} errors - An improper autoload was preventing 'doom clean' from being recognized. - 'doom compile' hadn't been updated to reflect changes introduced recently in 1402db5. Amend: 6c0b7e1530a6 Ref: 1402db512949 --- bin/doom | 1 + core/cli/compile.el | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/doom b/bin/doom index 558d218ab..e5dda660b 100755 --- a/bin/doom +++ b/bin/doom @@ -257,6 +257,7 @@ SEE ALSO: (defautoload! ((build b purge p rollback)) "packages") (defautoload! ((install i))) (defautoload! ((compile c))) + (defautoload! (clean) "compile") ;; TODO Post-3.0 commands ;; (load! "gc" dir) diff --git a/core/cli/compile.el b/core/cli/compile.el index ee5c4b5bc..24440b174 100644 --- a/core/cli/compile.el +++ b/core/cli/compile.el @@ -97,7 +97,7 @@ If RECOMPILE-P is non-nil, only recompile out-of-date files." (let ((load-prefer-newer t) (noninteractive t) doom-interactive-p) - (doom-initialize 'force) + (require 'core-start) (quiet! (doom-initialize-packages)) (quiet! (doom-initialize-modules))))