Mercurial > emacs
changeset 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 | 636d15c88534 |
children | d8c9fc01d95e |
files | lisp/progmodes/grep.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
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"