Update :depth in doom-files-in call
Was searching for *.el files one level too deep.
This commit is contained in:
parent
b21d575eac
commit
6571c9eabf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
;; Assemble el files we want to compile; taking into account that
|
||||||
;; MODULES may be a list of MODULE/SUBMODULE strings from the command
|
;; MODULES may be a list of MODULE/SUBMODULE strings from the command
|
||||||
;; line.
|
;; 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
|
(unless target-files
|
||||||
(if targets
|
(if targets
|
||||||
(message "Couldn't find any valid targets")
|
(message "Couldn't find any valid targets")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue