summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/check-declare.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2016-04-16 14:54:03 +0300
committerEli Zaretskii <eliz@gnu.org>2016-04-16 14:54:03 +0300
commit33bef6e90bfd20609d044b8a076c1570c627684a (patch)
tree52fc8ffdae7a7f7d9953e07e4cc895116319e684 /lisp/emacs-lisp/check-declare.el
parenta8560e56a863d55f0df6e5c7da55d9a93286f772 (diff)
downloademacs-33bef6e90bfd20609d044b8a076c1570c627684a.tar.gz
Use 'grep-find-program' in check-declare.el
* lisp/emacs-lisp/check-declare.el (check-declare-directory): Use 'grep-find-program', not 'find-program'.
Diffstat (limited to 'lisp/emacs-lisp/check-declare.el')
-rw-r--r--lisp/emacs-lisp/check-declare.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/check-declare.el b/lisp/emacs-lisp/check-declare.el
index b6fa0546088..b8a00b3fb4e 100644
--- a/lisp/emacs-lisp/check-declare.el
+++ b/lisp/emacs-lisp/check-declare.el
@@ -339,7 +339,7 @@ Returns non-nil if any false statements are found."
errlist files)
(message "%s" m)
(message "%s" m2)
- (setq files (process-lines find-program root
+ (setq files (process-lines grep-find-program root
"-name" "*.el"
"-exec" grep-program
"-l" "^[ \t]*(declare-function" "{}" ";"))