From 33bef6e90bfd20609d044b8a076c1570c627684a Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 16 Apr 2016 14:54:03 +0300 Subject: [PATCH] Use 'grep-find-program' in check-declare.el * lisp/emacs-lisp/check-declare.el (check-declare-directory): Use 'grep-find-program', not 'find-program'. --- lisp/emacs-lisp/check-declare.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" "{}" ";")) -- 2.39.2