diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-04-11 19:41:48 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-04-11 19:41:48 +0300 |
commit | 10597c977d55cbf9304b51c3b364ce58199384a0 (patch) | |
tree | b7e6fa2e4169010d59f6ff930dbdd61a8f1df4fe /lisp/progmodes/project.el | |
parent | b134c206bc07dbbb9e74b3be2db269c4f1196e40 (diff) | |
download | emacs-10597c977d55cbf9304b51c3b364ce58199384a0.tar.gz emacs-10597c977d55cbf9304b51c3b364ce58199384a0.tar.bz2 emacs-10597c977d55cbf9304b51c3b364ce58199384a0.zip |
Don't use 'find-program'
* lisp/progmodes/project.el (project-file-completion-table): Use
'grep-find-program', rather than the obsolete 'find-program'.
Diffstat (limited to 'lisp/progmodes/project.el')
-rw-r--r-- | 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 9c8a88c80fc..82059c91363 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) |