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")