diff options
| author | Richard M. Stallman | 2002-11-06 05:08:16 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-11-06 05:08:16 +0000 |
| commit | 446d9629b9665c4afa899b06a1fe1f328a9afdc6 (patch) | |
| tree | ff45b79f2c20edc430531da8b4300f9fa8e7fc2c /lisp/replace.el | |
| parent | 574cb02e5c089296acdd1e4c7f9750a04892c582 (diff) | |
| download | emacs-446d9629b9665c4afa899b06a1fe1f328a9afdc6.tar.gz emacs-446d9629b9665c4afa899b06a1fe1f328a9afdc6.zip | |
(query-replace, query-replace-regexp): Doc fixes.
Diffstat (limited to 'lisp/replace.el')
| -rw-r--r-- | lisp/replace.el | 21 |
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 | |||
| 103 | string is used as FROM-STRING--you don't have to specify it with the | 103 | string is used as FROM-STRING--you don't have to specify it with the |
| 104 | minibuffer. | 104 | minibuffer. |
| 105 | 105 | ||
| 106 | Replacement transfers the case of the old text to the new text, | 106 | Matching is independent of case if `case-fold-search' is non-nil and |
| 107 | if `case-replace' and `case-fold-search' | 107 | FROM-STRING has no uppercase letters. Replacement transfers the case |
| 108 | are non-nil and FROM-STRING has no uppercase letters. | 108 | pattern 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 |
| 110 | then its replacement is upcased or capitalized.) | 110 | letters. \(Transferring the case pattern means that if the old text |
| 111 | matched is all caps, or capitalized, then its replacement is upcased | ||
| 112 | or capitalized.) | ||
| 111 | 113 | ||
| 112 | Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace | 114 | Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace |
| 113 | only matches surrounded by word boundaries. | 115 | only matches surrounded by word boundaries. |
| @@ -131,8 +133,13 @@ If `query-replace-interactive' is non-nil, the last incremental search | |||
| 131 | regexp is used as REGEXP--you don't have to specify it with the | 133 | regexp is used as REGEXP--you don't have to specify it with the |
| 132 | minibuffer. | 134 | minibuffer. |
| 133 | 135 | ||
| 134 | Preserves case in each replacement if `case-replace' and `case-fold-search' | 136 | Matching is independent of case if `case-fold-search' is non-nil and |
| 135 | are non-nil and REGEXP has no uppercase letters. | 137 | REGEXP has no uppercase letters. Replacement transfers the case |
| 138 | pattern 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 | ||
| 141 | all caps, or capitalized, then its replacement is upcased or | ||
| 142 | capitalized.) | ||
| 136 | 143 | ||
| 137 | Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace | 144 | Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace |
| 138 | only matches surrounded by word boundaries. | 145 | only matches surrounded by word boundaries. |