Fix #4768: don't ignore remote projects

This commit is contained in:
Henrik Lissner 2021-03-10 10:34:21 -05:00
parent cbe4546cb1
commit 7870350f84

View file

@ -146,6 +146,6 @@ If DIR is not a project, it will be indexed (but not cached)."
;;;###autoload ;;;###autoload
(defun doom-project-ignored-p (project-root) (defun doom-project-ignored-p (project-root)
"Return non-nil if remote or temporary file, or a straight package." "Return non-nil if remote or temporary file, or a straight package."
(or (file-remote-p project-root) (and (not (file-remote-p project-root))
(file-in-directory-p project-root temporary-file-directory) (or (file-in-directory-p project-root temporary-file-directory)
(file-in-directory-p project-root doom-local-dir))) (file-in-directory-p project-root doom-local-dir))))