diff options
| author | Lars Ingebrigtsen | 2016-04-30 21:28:51 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-04-30 21:28:51 +0200 |
| commit | bcc10761c3b968fa4534718116a0a601ed7da389 (patch) | |
| tree | 62f268f11961a6eabb3e6c59a14d0c50a4cf231a | |
| parent | 0714d7387812a151f59993ac77c7321724ef79b1 (diff) | |
| download | emacs-bcc10761c3b968fa4534718116a0a601ed7da389.tar.gz emacs-bcc10761c3b968fa4534718116a0a601ed7da389.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).
| -rw-r--r-- | lisp/replace.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/replace.el b/lisp/replace.el index c44d1f0f8cb..169fc3f4701 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 | |||
| 301 | of the region. Otherwise, operate from point to the end of the buffer's | 301 | of the region. Otherwise, operate from point to the end of the buffer's |
| 302 | accessible portion. | 302 | accessible portion. |
| 303 | 303 | ||
| 304 | In interactive use, the prefix arg (non-nil DELIMITED in | ||
| 305 | non-interactive use), means replace only matches surrounded by | ||
| 306 | word boundaries. A negative prefix arg means replace backward. | ||
| 307 | |||
| 304 | Use \\<minibuffer-local-map>\\[next-history-element] \ | 308 | Use \\<minibuffer-local-map>\\[next-history-element] \ |
| 305 | to pull the last incremental search string to the minibuffer | 309 | to pull the last incremental search string to the minibuffer |
| 306 | that reads FROM-STRING, or invoke replacements from | 310 | that reads FROM-STRING, or invoke replacements from |
| @@ -327,10 +331,6 @@ If `replace-character-fold' is non-nil, matching uses character folding, | |||
| 327 | i.e. it ignores diacritics and other differences between equivalent | 331 | i.e. it ignores diacritics and other differences between equivalent |
| 328 | character strings. | 332 | character strings. |
| 329 | 333 | ||
| 330 | Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace | ||
| 331 | only matches surrounded by word boundaries. A negative prefix arg means | ||
| 332 | replace backward. | ||
| 333 | |||
| 334 | Fourth and fifth arg START and END specify the region to operate on. | 334 | Fourth and fifth arg START and END specify the region to operate on. |
| 335 | 335 | ||
| 336 | To customize possible responses, change the bindings in `query-replace-map'." | 336 | To customize possible responses, change the bindings in `query-replace-map'." |