Fix #1673: restore project-file-exists-p! macro

This commit is contained in:
Henrik Lissner 2019-08-14 22:36:19 -04:00
parent 0c7e6261e8
commit 7d714b7531
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -23,12 +23,12 @@
;;; Macros ;;; Macros
;;;###autoload ;;;###autoload
(defun doom-project-file-exists-p (files) (defmacro project-file-exists-p! (files)
"Checks if the project has the specified FILES. "Checks if the project has the specified FILES.
Paths are relative to the project root, unless they start with ./ or ../ (in 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, which case they're relative to `default-directory'). If they start with a slash,
they are absolute." they are absolute."
(file-exists-p! files (doom-project-root))) `(file-exists-p! ,files (doom-project-root)))
;; ;;