From: Eli Zaretskii Date: Thu, 21 Apr 2016 02:07:27 +0000 (+0300) Subject: Revert "Don't use 'find-program'" X-Git-Tag: emacs-25.0.93~10 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/570e0fa357eabb76babf87343d5b9c8ae13e9e53?ds=sidebyside Revert "Don't use 'find-program'" This reverts commit 10597c977d55cbf9304b51c3b364ce58199384a0. --- diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index 82059c9136..9c8a88c80f 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 `grep-find-program'. PROJECT is used +The default implementation uses `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" - grep-find-program + find-program dir (xref--find-ignores-arguments (project-ignores project dir)