Don't use 'find-program'
* lisp/progmodes/project.el (project-file-completion-table): Use 'grep-find-program', rather than the obsolete 'find-program'.
This commit is contained in:
parent
b134c206bc
commit
10597c977d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
DIRS is a list of absolute directories; it should be some
|
||||||
subset of the project roots and external roots.
|
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."
|
to find the list of ignores for each directory."
|
||||||
;; FIXME: Uniquely abbreviate the roots?
|
;; FIXME: Uniquely abbreviate the roots?
|
||||||
(require 'xref)
|
(require 'xref)
|
||||||
|
@ -171,7 +171,7 @@ to find the list of ignores for each directory."
|
||||||
(lambda (dir)
|
(lambda (dir)
|
||||||
(let ((command
|
(let ((command
|
||||||
(format "%s %s %s -type f -print0"
|
(format "%s %s %s -type f -print0"
|
||||||
find-program
|
grep-find-program
|
||||||
dir
|
dir
|
||||||
(xref--find-ignores-arguments
|
(xref--find-ignores-arguments
|
||||||
(project-ignores project dir)
|
(project-ignores project dir)
|
||||||
|
|
Loading…
Add table
Reference in a new issue