From 6ab40c1a5176b7bbe5d3f44890477e7b6d07858e Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Thu, 26 Dec 2019 17:31:11 +0200 Subject: [PATCH] ; Clarify the assumption --- lisp/progmodes/project.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index d5920d10fcf..e21600ffe09 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -450,7 +450,8 @@ pattern to search for." (status nil) (hits nil) (xrefs nil) - ;; Support for remote files. + ;; Support for remote files. The assumption is that, if the + ;; first file is remote, they all are, and on the same host. (dir (file-name-directory (car files))) (remote-id (file-remote-p dir)) ;; 'git ls-files' can output broken symlinks. -- 2.39.2