Commit f5340e29 authored by Jesper Harder's avatar Jesper Harder
Browse files

(grep-tree): Ensure that DIR argument is

interpreted as a directory.
parent 71d5a208
2004-05-23 Jesper Harder <harder@ifa.au.dk>
* progmodes/grep.el (grep-tree): Ensure that DIR argument is
interpreted as a directory.
2004-05-22 Richard M. Stallman <rms@gnu.org>
* textmodes/paragraphs.el (sentence-end): Match unicode curly quotes
......
......@@ -533,7 +533,8 @@ those sub directories of DIR."
(files
(read-string (concat "Search for \"" regexp "\" in files (default " grep-tree-last-files "): ")))
(dir
(read-directory-name "Base directory: " nil default-directory t)))
(file-name-as-directory
(read-directory-name "Base directory: " nil default-directory t))))
(list regexp files dir)))
(unless grep-tree-command
(grep-compute-defaults))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment