Mercurial > emacs
diff lisp/progmodes/grep.el @ 72165:301cc56a3482
(grep-read-files): Use car of grep-files-history or grep-files-aliases
as default if nothing else applies.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Fri, 28 Jul 2006 23:20:21 +0000 |
parents | bca9d3121eef |
children | 691a901b4418 |
line wrap: on
line diff
--- a/lisp/progmodes/grep.el Fri Jul 28 23:19:56 2006 +0000 +++ b/lisp/progmodes/grep.el Fri Jul 28 23:20:21 2006 +0000 @@ -620,7 +620,9 @@ (cdr alias))) (and fn (let ((ext (file-name-extension fn))) - (and ext (concat "*." ext)))))) + (and ext (concat "*." ext)))) + (car grep-files-history) + (car (car grep-files-aliases)))) (files (read-string (concat "Search for \"" regexp "\" in files"