diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-04-28 18:37:34 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-04-28 18:37:34 +0300 |
commit | b3023de5431fc308e2a6db61ed4fdd18db785324 (patch) | |
tree | ca1c8f1adcde2d7192fe7991a672a89139f2610e /lisp/isearch.el | |
parent | 904aaabb0516b98b6195b3e8a37ea85d50a8d185 (diff) | |
parent | 3b6338c8c351cce721f2f1aa115cadc401179d5c (diff) | |
download | emacs-b3023de5431fc308e2a6db61ed4fdd18db785324.tar.gz |
Merge from origin/emacs-28
# Conflicts:
# lisp/progmodes/xref.el
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r-- | lisp/isearch.el | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el index 750324a9fe6..8397bb95c6b 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -2331,7 +2331,12 @@ arg means replace backward. Note that using the prefix arg is possible only when `isearch-allow-scroll' is non-nil or `isearch-allow-prefix' is non-nil, and it doesn't always provide the correct matches for `query-replace', so the preferred way to run word -replacements from Isearch is `M-s w ... M-%'." +replacements from Isearch is `M-s w ... M-%'. + +As each match is found, the user must type a character saying +what to do with it. Type SPC or `y' to replace the match, +DEL or `n' to skip and go to the next match. For more directions, +type \\[help-command] at that time." (interactive (list current-prefix-arg)) (barf-if-buffer-read-only) @@ -2385,7 +2390,12 @@ replacements from Isearch is `M-s w ... M-%'." (defun isearch-query-replace-regexp (&optional arg) "Start `query-replace-regexp' with string to replace from last search string. -See `isearch-query-replace' for more information." +See `isearch-query-replace' for more information. + +As each match is found, the user must type a character saying +what to do with it. Type SPC or `y' to replace the match, +DEL or `n' to skip and go to the next match. For more directions, +type \\[help-command] at that time." (interactive (list current-prefix-arg)) (isearch-query-replace arg t)) |