(authors): Expand `root' before running

find.
This commit is contained in:
Dave Love 2001-02-09 15:12:08 +00:00
parent 0f937ebd99
commit d2f288c695
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2001-02-09 Dave Love <fx@gnu.org>
* emacs-lisp/authors.el (authors): Expand `root' before running
find.
2001-02-09 Kenichi Handa <handa@etl.go.jp>
* faces.el (set-face-attribute): Describe the case of a negative

View file

@ -428,10 +428,10 @@ ROOT is the root directory under which to find the files. If called
interactively, ROOT is read from the minibuffer. Result is a
buffer *Authors* containing authorship information."
(interactive "DEmacs source directory: ")
(setq root (expand-file-name root))
(let ((logs (authors-process-lines "find" root "-name" "ChangeLog*"))
(table (make-hash-table :test 'equal))
(buffer-name "*Authors*"))
(setq root (expand-file-name root))
(authors-add-fixed-entries table)
(unless (file-exists-p (expand-file-name "src/emacs.c" root))
(error "Not the root directory of Emacs: %s" root))