]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/replace.el (replace-string): Doc fix re start/end.
authorGlenn Morris <rgm@gnu.org>
Fri, 6 Sep 2013 01:38:45 +0000 (21:38 -0400)
committerGlenn Morris <rgm@gnu.org>
Fri, 6 Sep 2013 01:38:45 +0000 (21:38 -0400)
Fixes: debbugs:15275
lisp/ChangeLog
lisp/replace.el

index 6929d80653e3ab2657b060c34814b580d7c83b79..cfee5834fe347d6805f45af2b8604864acccbaa3 100644 (file)
@@ -1,3 +1,7 @@
+2013-09-06  Glenn Morris  <rgm@gnu.org>
+
+       * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
+
 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
 
        * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
index 5e44677b0f802f684e8eca5ada7fedf431f3f487..abb59a674e380d5fd393f78af2312135bcacf2e3 100644 (file)
@@ -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 \\<minibuffer-local-map>\\[next-history-element] \
 to pull the last incremental search string to the minibuffer