From: Glenn Morris Date: Fri, 6 Sep 2013 01:38:45 +0000 (-0400) Subject: * lisp/replace.el (replace-string): Doc fix re start/end. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1664^2~20 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=397853249c7edc25dac2f6f2b9705fedb706916a;p=emacs.git * lisp/replace.el (replace-string): Doc fix re start/end. Fixes: debbugs:15275 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6929d80653e..cfee5834fe3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2013-09-06 Glenn Morris + + * replace.el (replace-string): Doc fix re start/end. (Bug#15275) + 2013-09-05 Dmitry Gutov * 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 to be replaced will match a sequence of whitespace chars defined by the regexp in `search-whitespace-regexp'. -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. - Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace only matches surrounded by word boundaries. -Fourth and fifth arg START and END specify the region to operate on. + +Operates on the region between START and END (if both are nil, from point +to the end of the buffer). Interactively, if Transient Mark mode is +enabled and the mark is active, operates on the contents of the region; +otherwise from point to the end of the buffer. Use \\\\[next-history-element] \ to pull the last incremental search string to the minibuffer