aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/grep.el4
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"