summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2008-01-30 21:43:55 +0000
committerJuanma Barranquero <lekktu@gmail.com>2008-01-30 21:43:55 +0000
commitc7efbb12d959fc9af98a6e255aaf20cfce8884a8 (patch)
tree746ef13b5f14a9e0e2d7d880163b6e2386bcf50e /lisp/emacs-lisp
parent8299c8a5ce1394b8d173eb453710600a3529fc1d (diff)
downloademacs-c7efbb12d959fc9af98a6e255aaf20cfce8884a8.tar.gz
emacs-c7efbb12d959fc9af98a6e255aaf20cfce8884a8.tar.bz2
emacs-c7efbb12d959fc9af98a6e255aaf20cfce8884a8.zip
(authors): Use `find-program' and `grep-program'
instead of hardcoded program names.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/authors.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/authors.el b/lisp/emacs-lisp/authors.el
index 90d3ac869e9..d27e08f7334 100644
--- a/lisp/emacs-lisp/authors.el
+++ b/lisp/emacs-lisp/authors.el
@@ -587,7 +587,7 @@ Result is a buffer *Authors* containing authorship information, and a
buffer *Authors Errors* containing references to unknown files."
(interactive "DEmacs source directory: ")
(setq root (expand-file-name root))
- (let ((logs (process-lines "find" root "-name" "ChangeLog*"))
+ (let ((logs (process-lines find-program root "-name" "ChangeLog*"))
(table (make-hash-table :test 'equal))
(buffer-name "*Authors*")
authors-checked-files-alist
@@ -599,7 +599,7 @@ buffer *Authors Errors* containing references to unknown files."
(when (string-match "ChangeLog\\(.[0-9]+\\)?$" log)
(message "Scanning %s..." log)
(authors-scan-change-log log table)))
- (let ((els (process-lines "find" root "-name" "*.el")))
+ (let ((els (process-lines find-program root "-name" "*.el")))
(dolist (file els)
(message "Scanning %s..." file)
(authors-scan-el file table)))