mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix #4768: don't ignore remote projects
This commit is contained in:
@ -146,6 +146,6 @@ If DIR is not a project, it will be indexed (but not cached)."
|
||||
;;;###autoload
|
||||
(defun doom-project-ignored-p (project-root)
|
||||
"Return non-nil if remote or temporary file, or a straight package."
|
||||
(or (file-remote-p project-root)
|
||||
(file-in-directory-p project-root temporary-file-directory)
|
||||
(file-in-directory-p project-root doom-local-dir)))
|
||||
(and (not (file-remote-p project-root))
|
||||
(or (file-in-directory-p project-root temporary-file-directory)
|
||||
(file-in-directory-p project-root doom-local-dir))))
|
||||
|
Reference in New Issue
Block a user