aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2001-02-09 15:12:08 +0000
committerDave Love2001-02-09 15:12:08 +0000
commitd2f288c69510feaac53886d18390a7334fd82a14 (patch)
tree79d2ebc6c2ead27e79acb0298989525acaa316ab
parent0f937ebd995212c5ed8f4615f556513fa01a7f17 (diff)
downloademacs-d2f288c69510feaac53886d18390a7334fd82a14.tar.gz
emacs-d2f288c69510feaac53886d18390a7334fd82a14.zip
(authors): Expand `root' before running
find.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/emacs-lisp/authors.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 15a292dbbe7..17299cf96cb 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12001-02-09 Dave Love <fx@gnu.org>
2
3 * emacs-lisp/authors.el (authors): Expand `root' before running
4 find.
5
12001-02-09 Kenichi Handa <handa@etl.go.jp> 62001-02-09 Kenichi Handa <handa@etl.go.jp>
2 7
3 * faces.el (set-face-attribute): Describe the case of a negative 8 * faces.el (set-face-attribute): Describe the case of a negative
diff --git a/lisp/emacs-lisp/authors.el b/lisp/emacs-lisp/authors.el
index e818ca88d6c..909f741f88c 100644
--- a/lisp/emacs-lisp/authors.el
+++ b/lisp/emacs-lisp/authors.el
@@ -428,10 +428,10 @@ ROOT is the root directory under which to find the files. If called
428interactively, ROOT is read from the minibuffer. Result is a 428interactively, ROOT is read from the minibuffer. Result is a
429buffer *Authors* containing authorship information." 429buffer *Authors* containing authorship information."
430 (interactive "DEmacs source directory: ") 430 (interactive "DEmacs source directory: ")
431 (setq root (expand-file-name root))
431 (let ((logs (authors-process-lines "find" root "-name" "ChangeLog*")) 432 (let ((logs (authors-process-lines "find" root "-name" "ChangeLog*"))
432 (table (make-hash-table :test 'equal)) 433 (table (make-hash-table :test 'equal))
433 (buffer-name "*Authors*")) 434 (buffer-name "*Authors*"))
434 (setq root (expand-file-name root))
435 (authors-add-fixed-entries table) 435 (authors-add-fixed-entries table)
436 (unless (file-exists-p (expand-file-name "src/emacs.c" root)) 436 (unless (file-exists-p (expand-file-name "src/emacs.c" root))
437 (error "Not the root directory of Emacs: %s" root)) 437 (error "Not the root directory of Emacs: %s" root))