summaryrefslogtreecommitdiff
path: root/lisp/replace.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-09-05 21:38:45 -0400
committerGlenn Morris <rgm@gnu.org>2013-09-05 21:38:45 -0400
commit397853249c7edc25dac2f6f2b9705fedb706916a (patch)
tree8858c7221621e50e381b531f59d78421ee7388e6 /lisp/replace.el
parentb969582835bb7d6085a802322c77150fe559960e (diff)
downloademacs-397853249c7edc25dac2f6f2b9705fedb706916a.tar.gz
* lisp/replace.el (replace-string): Doc fix re start/end.
Fixes: debbugs:15275
Diffstat (limited to 'lisp/replace.el')
-rw-r--r--lisp/replace.el9
1 files changed, 5 insertions, 4 deletions
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 \\<minibuffer-local-map>\\[next-history-element] \
to pull the last incremental search string to the minibuffer