diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-04-16 14:54:03 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-04-16 14:54:03 +0300 |
commit | 33bef6e90bfd20609d044b8a076c1570c627684a (patch) | |
tree | 52fc8ffdae7a7f7d9953e07e4cc895116319e684 /lisp/emacs-lisp/check-declare.el | |
parent | a8560e56a863d55f0df6e5c7da55d9a93286f772 (diff) | |
download | emacs-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.el | 2 |
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" "{}" ";")) |