Commit 570e0fa3 authored by Eli Zaretskii's avatar Eli Zaretskii

Revert "Don't use 'find-program'"

This reverts commit 10597c97.
parent 645f4ef1
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment