aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/replace.el
diff options
context:
space:
mode:
authorRichard M. Stallman2002-11-06 05:08:16 +0000
committerRichard M. Stallman2002-11-06 05:08:16 +0000
commit446d9629b9665c4afa899b06a1fe1f328a9afdc6 (patch)
treeff45b79f2c20edc430531da8b4300f9fa8e7fc2c /lisp/replace.el
parent574cb02e5c089296acdd1e4c7f9750a04892c582 (diff)
downloademacs-446d9629b9665c4afa899b06a1fe1f328a9afdc6.tar.gz
emacs-446d9629b9665c4afa899b06a1fe1f328a9afdc6.zip
(query-replace, query-replace-regexp): Doc fixes.
Diffstat (limited to 'lisp/replace.el')
-rw-r--r--lisp/replace.el21
1 files changed, 14 insertions, 7 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index c2c39cbd219..898fee41cd7 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -103,11 +103,13 @@ If `query-replace-interactive' is non-nil, the last incremental search
103string is used as FROM-STRING--you don't have to specify it with the 103string is used as FROM-STRING--you don't have to specify it with the
104minibuffer. 104minibuffer.
105 105
106Replacement transfers the case of the old text to the new text, 106Matching is independent of case if `case-fold-search' is non-nil and
107if `case-replace' and `case-fold-search' 107FROM-STRING has no uppercase letters. Replacement transfers the case
108are non-nil and FROM-STRING has no uppercase letters. 108pattern of the old text to the new text, if `case-replace' and
109\(Preserving case means that if the string matched is all caps, or capitalized, 109`case-fold-search' are non-nil and FROM-STRING has no uppercase
110then its replacement is upcased or capitalized.) 110letters. \(Transferring the case pattern means that if the old text
111matched is all caps, or capitalized, then its replacement is upcased
112or capitalized.)
111 113
112Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace 114Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace
113only matches surrounded by word boundaries. 115only matches surrounded by word boundaries.
@@ -131,8 +133,13 @@ If `query-replace-interactive' is non-nil, the last incremental search
131regexp is used as REGEXP--you don't have to specify it with the 133regexp is used as REGEXP--you don't have to specify it with the
132minibuffer. 134minibuffer.
133 135
134Preserves case in each replacement if `case-replace' and `case-fold-search' 136Matching is independent of case if `case-fold-search' is non-nil and
135are non-nil and REGEXP has no uppercase letters. 137REGEXP has no uppercase letters. Replacement transfers the case
138pattern of the old text to the new text, if `case-replace' and
139`case-fold-search' are non-nil and REGEXP has no uppercase letters.
140\(Transferring the case pattern means that if the old text matched is
141all caps, or capitalized, then its replacement is upcased or
142capitalized.)
136 143
137Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace 144Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace
138only matches surrounded by word boundaries. 145only matches surrounded by word boundaries.