summaryrefslogtreecommitdiff
path: root/lisp/replace.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-12-04 12:52:52 +0000
committerRichard M. Stallman <rms@gnu.org>1994-12-04 12:52:52 +0000
commit50375aa0747b004bd193bcc48ea438100928714e (patch)
treef7c359dc3901b9537be5dd18085117f4773dce77 /lisp/replace.el
parent5d397951940967bda633cf55886ef1158c1d6926 (diff)
downloademacs-50375aa0747b004bd193bcc48ea438100928714e.tar.gz
(replace-string, query-replace): Doc fixes.
Diffstat (limited to 'lisp/replace.el')
-rw-r--r--lisp/replace.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index 886748d1713..40b6c01bd04 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -57,6 +57,9 @@ minibuffer.
Preserves case in each replacement if `case-replace' and `case-fold-search'
are non-nil and FROM-STRING has no uppercase letters.
+\(Preserving case means that if the string matched is all caps, or capitalized,
+then its replacement is upcased or capitalized.)
+
Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace
only matches surrounded by word boundaries.
@@ -133,6 +136,9 @@ before rotating to the next."
"Replace occurrences of FROM-STRING with TO-STRING.
Preserve case in each match if `case-replace' and `case-fold-search'
are non-nil and FROM-STRING has no uppercase letters.
+\(Preserving case means that if the string matched is all caps, or capitalized,
+then its replacement is upcased or capitalized.)
+
Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace
only matches surrounded by word boundaries.