Mercurial > emacs
comparison lisp/replace.el @ 43405:9550f54734dc
(query-replace-regexp-eval): Doc fix.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Mon, 18 Feb 2002 20:29:16 +0000 |
parents | a05ddff4cbab |
children | f39dfc11dc58 |
comparison
equal
deleted
inserted
replaced
43404:36c14bc6e7fb | 43405:9550f54734dc |
---|---|
1 ;;; replace.el --- replace commands for Emacs | 1 ;;; replace.el --- replace commands for Emacs |
2 | 2 |
3 ;; Copyright (C) 1985, 86, 87, 92, 94, 96, 1997, 2000, 2001 | 3 ;; Copyright (C) 1985, 86, 87, 92, 94, 96, 1997, 2000, 2001, 2002 |
4 ;; Free Software Foundation, Inc. | 4 ;; Free Software Foundation, Inc. |
5 | 5 |
6 ;; This file is part of GNU Emacs. | 6 ;; This file is part of GNU Emacs. |
7 | 7 |
8 ;; GNU Emacs is free software; you can redistribute it and/or modify | 8 ;; GNU Emacs is free software; you can redistribute it and/or modify |
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. |