From 6571c9eabf1a1b4e8149958f3b9480e97ea61344 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 14 Jun 2018 00:49:48 +0200 Subject: [PATCH] Update :depth in doom-files-in call Was searching for *.el files one level too deep. --- core/core-dispatcher.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-dispatcher.el b/core/core-dispatcher.el index 52775e6aa..3c5e39ccd 100644 --- a/core/core-dispatcher.el +++ b/core/core-dispatcher.el @@ -608,7 +608,7 @@ If RECOMPILE-P is non-nil, only recompile out-of-date files." ;; Assemble el files we want to compile; taking into account that ;; MODULES may be a list of MODULE/SUBMODULE strings from the command ;; line. - (let ((target-files (doom-files-in targets :depth 2 :match "\\.el$"))) + (let ((target-files (doom-files-in targets :depth 1 :match "\\.el$"))) (unless target-files (if targets (message "Couldn't find any valid targets")