fix(lib): doom-files-in's :map causing type errors
This regression was introduced in10d00b7cc4
, causing "wrong-type-argument: stringp (X . Y)" errors. It is triggered when doom-files-in is used with a non-nil :map on a nested directory tree (like our module tree). Fix: #6370 Amend:10d00b7cc4
This commit is contained in:
parent
98274f2558
commit
80cd7557e1
1 changed files with 2 additions and 1 deletions
|
@ -118,7 +118,8 @@ MATCH is a string regexp. Only entries that match it will be included."
|
||||||
(apply #'doom-files-in file
|
(apply #'doom-files-in file
|
||||||
(append (list :mindepth (1- mindepth)
|
(append (list :mindepth (1- mindepth)
|
||||||
:depth (1- depth)
|
:depth (1- depth)
|
||||||
:relative-to relative-to)
|
:relative-to relative-to
|
||||||
|
:map nil)
|
||||||
rest)))))
|
rest)))))
|
||||||
((and (memq type '(t files))
|
((and (memq type '(t files))
|
||||||
(string-match-p match file)
|
(string-match-p match file)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue