diff options
| author | Kim F. Storm | 2006-07-28 23:20:21 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-07-28 23:20:21 +0000 |
| commit | bcdf86fb51ea5a3860aaade93276f2661cbc70b2 (patch) | |
| tree | d00a89deb7ec3e3bdc3bdfc7357fc75afcfc1f82 | |
| parent | a912bc0d0aef24b7694507b35caef0f3f812a781 (diff) | |
| download | emacs-bcdf86fb51ea5a3860aaade93276f2661cbc70b2.tar.gz emacs-bcdf86fb51ea5a3860aaade93276f2661cbc70b2.zip | |
(grep-read-files): Use car of grep-files-history or grep-files-aliases
as default if nothing else applies.
| -rw-r--r-- | lisp/progmodes/grep.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index 96f449c2b05..1c29bfe9cc8 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el | |||
| @@ -620,7 +620,9 @@ substitution string. Note dynamic scoping of variables.") | |||
| 620 | (cdr alias))) | 620 | (cdr alias))) |
| 621 | (and fn | 621 | (and fn |
| 622 | (let ((ext (file-name-extension fn))) | 622 | (let ((ext (file-name-extension fn))) |
| 623 | (and ext (concat "*." ext)))))) | 623 | (and ext (concat "*." ext)))) |
| 624 | (car grep-files-history) | ||
| 625 | (car (car grep-files-aliases)))) | ||
| 624 | (files (read-string | 626 | (files (read-string |
| 625 | (concat "Search for \"" regexp | 627 | (concat "Search for \"" regexp |
| 626 | "\" in files" | 628 | "\" in files" |