summaryrefslogtreecommitdiff
path: root/lisp/replace.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2016-04-30 21:28:51 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2016-05-01 19:27:15 +0200
commitef32be609def28e77e0652a778239bb920569466 (patch)
treec59e6447022a054d5ab26736919a0cca198cda00 /lisp/replace.el
parent7350d3d7b062daf0d5faae86f81043b13de08cea (diff)
downloademacs-ef32be609def28e77e0652a778239bb920569466.tar.gz
Rearrange the doc of query-replace slightly
* lisp/replace.el (query-replace): Move the mention of the interactive prefix arg earlier so that users can find it (bug#20654). (cherry picked from commit bcc10761c3b968fa4534718116a0a601ed7da389)
Diffstat (limited to 'lisp/replace.el')
-rw-r--r--lisp/replace.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index da2b8c6e9b2..801c6058f74 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -301,6 +301,10 @@ In Transient Mark mode, if the mark is active, operate on the contents
of the region. Otherwise, operate from point to the end of the buffer's
accessible portion.
+In interactive use, the prefix arg (non-nil DELIMITED in
+non-interactive use), means replace only matches surrounded by
+word boundaries. A negative prefix arg means replace backward.
+
Use \\<minibuffer-local-map>\\[next-history-element] \
to pull the last incremental search string to the minibuffer
that reads FROM-STRING, or invoke replacements from
@@ -327,10 +331,6 @@ If `replace-character-fold' is non-nil, matching uses character folding,
i.e. it ignores diacritics and other differences between equivalent
character strings.
-Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace
-only matches surrounded by word boundaries. A negative prefix arg means
-replace backward.
-
Fourth and fifth arg START and END specify the region to operate on.
To customize possible responses, change the bindings in `query-replace-map'."