diff options
Diffstat (limited to 'lisp/progmodes')
| -rw-r--r-- | lisp/progmodes/grep.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index a6ae42f86b1..c056b0f4e26 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el | |||
| @@ -817,11 +817,11 @@ substitution string. Note dynamic scoping of variables.") | |||
| 817 | (defun grep-read-regexp () | 817 | (defun grep-read-regexp () |
| 818 | "Read regexp arg for interactive grep." | 818 | "Read regexp arg for interactive grep." |
| 819 | (let ((default (grep-tag-default))) | 819 | (let ((default (grep-tag-default))) |
| 820 | (read-string | 820 | (read-regexp |
| 821 | (concat "Search for" | 821 | (concat "Search for" |
| 822 | (if (and default (> (length default) 0)) | 822 | (if (and default (> (length default) 0)) |
| 823 | (format " (default \"%s\"): " default) ": ")) | 823 | (format " (default \"%s\"): " default) ": ")) |
| 824 | nil 'grep-regexp-history default))) | 824 | default 'grep-regexp-history))) |
| 825 | 825 | ||
| 826 | (defun grep-read-files (regexp) | 826 | (defun grep-read-files (regexp) |
| 827 | "Read files arg for interactive grep." | 827 | "Read files arg for interactive grep." |