New macros file-exists-p! & project-file-exists-p!
The latter replaces the doom-project-has! macro
This commit is contained in:
parent
b2186745b7
commit
4ee0b5ba6d
6 changed files with 28 additions and 14 deletions
|
@ -7,8 +7,8 @@
|
|||
(def-test! resolve-path-forms
|
||||
(should
|
||||
(equal (doom--resolve-path-forms '(and "fileA" "fileB"))
|
||||
'(and (file-exists-p (expand-file-name "fileA" (doom-project-root)))
|
||||
(file-exists-p (expand-file-name "fileB" (doom-project-root)))))))
|
||||
'(and (file-exists-p (expand-file-name "fileA" nil))
|
||||
(file-exists-p (expand-file-name "fileB" nil))))))
|
||||
|
||||
;; `doom--resolve-hook-forms'
|
||||
(def-test! resolve-hook-forms
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue