1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-16 10:50:49 -08:00

; Fix last change in isearch.el

* lisp/isearch.el (isearch-occur): Move the recent addition
to doc string from here...
(isearch-query-replace-regexp): ...to here.
This commit is contained in:
Eli Zaretskii 2022-04-21 21:56:09 +03:00
parent 16d1ab02af
commit e93e31c895

View file

@ -2383,7 +2383,12 @@ type \\[help-command] at that time."
(defun isearch-query-replace-regexp (&optional arg) (defun isearch-query-replace-regexp (&optional arg)
"Start `query-replace-regexp' with string to replace from last search string. "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 (interactive
(list current-prefix-arg)) (list current-prefix-arg))
(isearch-query-replace arg t)) (isearch-query-replace arg t))
@ -2398,12 +2403,7 @@ the search words, ignoring punctuation. If the last search
command was a regular expression search, REGEXP is the regular command was a regular expression search, REGEXP is the regular
expression used in that search. If the last search command searched expression used in that search. If the last search command searched
for a literal string, REGEXP is constructed by quoting all the special for a literal string, REGEXP is constructed by quoting all the special
characters in that string. characters in that string."
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 (interactive
(let* ((perform-collect (consp current-prefix-arg)) (let* ((perform-collect (consp current-prefix-arg))
(regexp (cond (regexp (cond