]> code.delx.au - gnu-emacs/commitdiff
Don't use 'find-program'
authorEli Zaretskii <eliz@gnu.org>
Mon, 11 Apr 2016 16:41:48 +0000 (19:41 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 11 Apr 2016 16:41:48 +0000 (19:41 +0300)
* lisp/progmodes/project.el (project-file-completion-table): Use
'grep-find-program', rather than the obsolete 'find-program'.

lisp/progmodes/project.el

index 9c8a88c80fc8651ab7e7848ea1776793a54b0d56..82059c9136308e39e28aa609109ed7b6d61b3e22 100644 (file)
@@ -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)