master c04bae8bff8: Have project-files + default project backend include symlinks

Dmitry Gutov <[email protected]> Thu, 2 Jul 2026 02:27:16 -0400 (EDT)
Newsgroups gmane.emacs.diffs
Message-ID <[email protected]>
branch: master
commit c04bae8bff8fbf3d7383b63ade2f3b71bfd6b14a
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>

    Have project-files + default project backend include symlinks
    
    * lisp/progmodes/project.el (project--files-in-directory): Use
    '-L' to follow symbolic links when listing project files.
    Requested in bug#81278.
---
 lisp/progmodes/project.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index c89d01b0908..4dbcc2607a4 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -406,7 +406,7 @@ to find the list of ignores for each directory."
          ;; expanded and not left for the shell command
          ;; to interpret.
          (localdir (file-name-unquote (file-local-name (expand-file-name dir))))
-         (command (format "%s -H . %s -type f %s -print0"
+         (command (format "%s -L . %s -type f %s -print0"
                           find-program
                           (xref--find-ignores-arguments ignores "./")
                           (if files