comparison lisp/replace.el @ 43406:f39dfc11dc58

(query-replace-regexp-eval): Doc fix.
author Andreas Schwab <schwab@suse.de>
date Mon, 18 Feb 2002 20:30:19 +0000
parents 9550f54734dc
children f1d7c706f7f7
comparison
equal deleted inserted replaced
43405:9550f54734dc 43406:f39dfc11dc58
151 reference `replace-count' to get the number of replacements already made. 151 reference `replace-count' to get the number of replacements already made.
152 If the result of TO-EXPR is not a string, it is converted to one using 152 If the result of TO-EXPR is not a string, it is converted to one using
153 `prin1-to-string' with the NOESCAPE argument (which see). 153 `prin1-to-string' with the NOESCAPE argument (which see).
154 154
155 For convenience, when entering TO-EXPR interactively, you can use `\\&' or 155 For convenience, when entering TO-EXPR interactively, you can use `\\&' or
156 `\\0' to stand for whatever matched the whole of REGEXP, and `\N' (where 156 `\\0' to stand for whatever matched the whole of REGEXP, and `\\N' (where
157 N is a digit) to stand for whatever matched the Nth `\(...\)' in REGEXP. 157 N is a digit) to stand for whatever matched the Nth `\\(...\\)' in REGEXP.
158 Use `\\#&' or `\\#N' if you want a number instead of a string. 158 Use `\\#&' or `\\#N' if you want a number instead of a string.
159 159
160 In Transient Mark mode, if the mark is active, operate on the contents 160 In Transient Mark mode, if the mark is active, operate on the contents
161 of the region. Otherwise, operate from point to the end of the buffer. 161 of the region. Otherwise, operate from point to the end of the buffer.
162 162