From: Eli Zaretskii Date: Sat, 16 Apr 2016 11:54:03 +0000 (+0300) Subject: Use 'grep-find-program' in check-declare.el X-Git-Tag: emacs-25.0.93~24 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=33bef6e;p=emacs.git Use 'grep-find-program' in check-declare.el * lisp/emacs-lisp/check-declare.el (check-declare-directory): Use 'grep-find-program', not 'find-program'. --- 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" "{}" ";"))