diff options
author | Juri Linkov <juri@jurta.org> | 2012-09-21 00:57:13 +0300 |
---|---|---|
committer | Juri Linkov <juri@jurta.org> | 2012-09-21 00:57:13 +0300 |
commit | eb2deaffd17e760b3ec945c58d43080e8a44767a (patch) | |
tree | 76bf1cbd8109f7975159bcec98bdaad2191a4547 /lisp/isearch.el | |
parent | 5825610b41a7cf18f52c3d891ffb8c2a8359b1a0 (diff) | |
download | emacs-eb2deaffd17e760b3ec945c58d43080e8a44767a.tar.gz |
* lisp/replace.el (query-replace-read-from): Use `read-regexp' instead
of `read-from-minibuffer' when `regexp-flag' is non-nil.
(occur-read-primary-args): Use `read-regexp' instead of
`read-string'.
(multi-occur-in-matching-buffers): Use `read-regexp' instead of
`read-from-minibuffer'.
* lisp/isearch.el (isearch-occur): Use `read-regexp' instead of
`read-string'.
* lisp/dired.el (dired-read-regexp): Use `read-regexp' instead of
`read-from-minibuffer'.
* lisp/progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
of `read-string'.
Fixes: debbugs:7567
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r-- | lisp/isearch.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el index 04f5a7acc2c..37993767013 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -1649,9 +1649,9 @@ characters in that string." (isearch-done nil t) (isearch-clean-overlays) (let ((default (car occur-collect-regexp-history))) - (read-string + (read-regexp (format "Regexp to collect (default %s): " default) - nil 'occur-collect-regexp-history default))) + default 'occur-collect-regexp-history))) ;; Otherwise normal occur takes numerical prefix argument. (when current-prefix-arg (prefix-numeric-value current-prefix-arg)))))) |