interpreted as a directory.
+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
(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))