emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 10597c9: Don't use 'find-program'


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-25 10597c9: Don't use 'find-program'
Date: Mon, 11 Apr 2016 16:43:01 +0000

branch: emacs-25
commit 10597c977d55cbf9304b51c3b364ce58199384a0
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Don't use 'find-program'
    
    * lisp/progmodes/project.el (project-file-completion-table): Use
    'grep-find-program', rather than the obsolete 'find-program'.
---
 lisp/progmodes/project.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index 9c8a88c..82059c9 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -162,7 +162,7 @@ end it with `/'.  DIR must be one of `project-roots' or
 DIRS is a list of absolute directories; it should be some
 subset of the project roots and external roots.
 
-The default implementation uses `find-program'.  PROJECT is used
+The default implementation uses `grep-find-program'.  PROJECT is used
 to find the list of ignores for each directory."
   ;; FIXME: Uniquely abbreviate the roots?
   (require 'xref)
@@ -171,7 +171,7 @@ to find the list of ignores for each directory."
          (lambda (dir)
            (let ((command
                   (format "%s %s %s -type f -print0"
-                          find-program
+                          grep-find-program
                           dir
                           (xref--find-ignores-arguments
                            (project-ignores project dir)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]