Optimize file-exists-p! & project-file-exists-p!
This commit is contained in:
parent
e13ccf3e08
commit
52a04fd8c6
2 changed files with 13 additions and 7 deletions
|
@ -99,7 +99,7 @@ If NOCACHE, don't fetch a cached answer."
|
|||
Paths are relative to the project root, unless they start with ./ or ../ (in
|
||||
which case they're relative to `default-directory'). If they start with a slash,
|
||||
they are absolute."
|
||||
(doom--resolve-path-forms files '(doom-project-root)))
|
||||
`(file-exists-p! ,files (doom-project-root)))
|
||||
|
||||
(defun doom-project-find-file (dir)
|
||||
"Fuzzy-find a file under DIR."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue