Commit 33bef6e9 authored by Eli Zaretskii's avatar Eli Zaretskii

Use 'grep-find-program' in check-declare.el

* lisp/emacs-lisp/check-declare.el (check-declare-directory): Use
'grep-find-program', not 'find-program'.
parent a8560e56
......@@ -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" "{}" ";"))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment