diff options
| author | Glenn Morris | 2013-09-05 21:38:45 -0400 |
|---|---|---|
| committer | Glenn Morris | 2013-09-05 21:38:45 -0400 |
| commit | 397853249c7edc25dac2f6f2b9705fedb706916a (patch) | |
| tree | 8858c7221621e50e381b531f59d78421ee7388e6 | |
| parent | b969582835bb7d6085a802322c77150fe559960e (diff) | |
| download | emacs-397853249c7edc25dac2f6f2b9705fedb706916a.tar.gz emacs-397853249c7edc25dac2f6f2b9705fedb706916a.zip | |
* lisp/replace.el (replace-string): Doc fix re start/end.
Fixes: debbugs:15275
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/replace.el | 9 |
2 files changed, 9 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6929d80653e..cfee5834fe3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-09-06 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * replace.el (replace-string): Doc fix re start/end. (Bug#15275) | ||
| 4 | |||
| 1 | 2013-09-05 Dmitry Gutov <dgutov@yandex.ru> | 5 | 2013-09-05 Dmitry Gutov <dgutov@yandex.ru> |
| 2 | 6 | ||
| 3 | * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish | 7 | * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish |
diff --git a/lisp/replace.el b/lisp/replace.el index 5e44677b0f8..abb59a674e3 100644 --- a/lisp/replace.el +++ b/lisp/replace.el | |||
| @@ -490,12 +490,13 @@ If `replace-lax-whitespace' is non-nil, a space or spaces in the string | |||
| 490 | to be replaced will match a sequence of whitespace chars defined by the | 490 | to be replaced will match a sequence of whitespace chars defined by the |
| 491 | regexp in `search-whitespace-regexp'. | 491 | regexp in `search-whitespace-regexp'. |
| 492 | 492 | ||
| 493 | In Transient Mark mode, if the mark is active, operate on the contents | ||
| 494 | of the region. Otherwise, operate from point to the end of the buffer. | ||
| 495 | |||
| 496 | Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace | 493 | Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace |
| 497 | only matches surrounded by word boundaries. | 494 | only matches surrounded by word boundaries. |
| 498 | Fourth and fifth arg START and END specify the region to operate on. | 495 | |
| 496 | Operates on the region between START and END (if both are nil, from point | ||
| 497 | to the end of the buffer). Interactively, if Transient Mark mode is | ||
| 498 | enabled and the mark is active, operates on the contents of the region; | ||
| 499 | otherwise from point to the end of the buffer. | ||
| 499 | 500 | ||
| 500 | Use \\<minibuffer-local-map>\\[next-history-element] \ | 501 | Use \\<minibuffer-local-map>\\[next-history-element] \ |
| 501 | to pull the last incremental search string to the minibuffer | 502 | to pull the last incremental search string to the minibuffer |