From 345b704a0d11079ac6233fb8601ec22f88bbd623 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 20 Jun 2017 15:59:47 +0200 Subject: [PATCH] Make interactive doom/compile less destructive It would reload all files; which is harmless, but does unnecessarily inflate variables that get push-ed or nconc-ed to. It's best to compile from the command line. --- core/core-packages.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-packages.el b/core/core-packages.el index 52beae119..8c5995660 100644 --- a/core/core-packages.el +++ b/core/core-packages.el @@ -525,7 +525,7 @@ If ONLY-RECOMPILE-P is non-nil, only recompile out-of-date files." (interactive "P") ;; Ensure all relevant config files are loaded and up-to-date. This way we ;; don't need eval-when-compile and require blocks scattered all over. - (doom-initialize-packages t t) + (doom-initialize-packages t noninteractive) (let ((targets (cond ((equal (car command-line-args-left) "--") (cl-loop for file in (cdr command-line-args-left)