doom-files-in: fix default :match to ignore dotfiles

This commit is contained in:
Henrik Lissner 2018-07-30 03:49:37 +02:00
parent 16e9957c1a
commit 7b881c771a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -133,7 +133,7 @@ This is used by `associate!', `file-exists-p!' and `project-file-exists-p!'."
(relative-to (unless full default-directory))
(depth 99999)
(mindepth 0)
(match "^[^.]"))
(match "/[^.]"))
"Returns a list of files/directories in PATH-OR-PATHS (one string path or a
list of them).