mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(isearch-query-replace, isearch-query-replace-regexp):
Use the search string without prompting.
This commit is contained in:
parent
2bac9bb1c6
commit
00c8fbf6f6
1 changed files with 2 additions and 2 deletions
|
|
@ -1062,7 +1062,7 @@ Use `isearch-exit' to quit without signaling."
|
|||
(defun isearch-query-replace ()
|
||||
"Start query-replace with string to replace from last search string."
|
||||
(interactive)
|
||||
(let ((query-replace-interactive 'initial)
|
||||
(let ((query-replace-interactive t)
|
||||
(case-fold-search isearch-case-fold-search))
|
||||
;; Put search string into the right ring
|
||||
(setq isearch-regexp nil)
|
||||
|
|
@ -1074,7 +1074,7 @@ Use `isearch-exit' to quit without signaling."
|
|||
(defun isearch-query-replace-regexp ()
|
||||
"Start query-replace-regexp with string to replace from last search string."
|
||||
(interactive)
|
||||
(let ((query-replace-interactive 'initial)
|
||||
(let ((query-replace-interactive t)
|
||||
(case-fold-search isearch-case-fold-search))
|
||||
;; Put search string into the right ring
|
||||
(setq isearch-regexp t)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue