changeset 88084:60aaa6c4ca3c

(authors): Use `find-program' and `grep-program' instead of hardcoded program names.
author Juanma Barranquero <lekktu@gmail.com>
date Wed, 30 Jan 2008 21:43:55 +0000
parents 178e852f7ddf
children f4834ccd5bce
files lisp/emacs-lisp/authors.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/authors.el	Wed Jan 30 21:25:08 2008 +0000
+++ b/lisp/emacs-lisp/authors.el	Wed Jan 30 21:43:55 2008 +0000
@@ -587,7 +587,7 @@
 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 @@
       (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)))