aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen2016-04-30 21:28:51 +0200
committerLars Ingebrigtsen2016-05-01 19:27:15 +0200
commitef32be609def28e77e0652a778239bb920569466 (patch)
treec59e6447022a054d5ab26736919a0cca198cda00 /lisp
parent7350d3d7b062daf0d5faae86f81043b13de08cea (diff)
downloademacs-ef32be609def28e77e0652a778239bb920569466.tar.gz
emacs-ef32be609def28e77e0652a778239bb920569466.zip
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')
-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
301of the region. Otherwise, operate from point to the end of the buffer's 301of the region. Otherwise, operate from point to the end of the buffer's
302accessible portion. 302accessible portion.
303 303
304In interactive use, the prefix arg (non-nil DELIMITED in
305non-interactive use), means replace only matches surrounded by
306word boundaries. A negative prefix arg means replace backward.
307
304Use \\<minibuffer-local-map>\\[next-history-element] \ 308Use \\<minibuffer-local-map>\\[next-history-element] \
305to pull the last incremental search string to the minibuffer 309to pull the last incremental search string to the minibuffer
306that reads FROM-STRING, or invoke replacements from 310that reads FROM-STRING, or invoke replacements from
@@ -327,10 +331,6 @@ If `replace-character-fold' is non-nil, matching uses character folding,
327i.e. it ignores diacritics and other differences between equivalent 331i.e. it ignores diacritics and other differences between equivalent
328character strings. 332character strings.
329 333
330Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace
331only matches surrounded by word boundaries. A negative prefix arg means
332replace backward.
333
334Fourth and fifth arg START and END specify the region to operate on. 334Fourth and fifth arg START and END specify the region to operate on.
335 335
336To customize possible responses, change the bindings in `query-replace-map'." 336To customize possible responses, change the bindings in `query-replace-map'."