Mercurial > emacs
changeset 79449:d326128c6b13
(map-query-replace-regexp): Doc fix (revert part of revision 1.104,
made on 2000-05-21 with no ChangeLog entry).
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Mon, 19 Nov 2007 12:47:03 +0000 |
parents | 7eeee580786a |
children | 1c9baeb50e0e |
files | lisp/replace.el |
diffstat | 1 files changed, 3 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/replace.el Mon Nov 19 09:14:38 2007 +0000 +++ b/lisp/replace.el Mon Nov 19 12:47:03 2007 +0000 @@ -366,11 +366,9 @@ (defun map-query-replace-regexp (regexp to-strings &optional n start end) "Replace some matches for REGEXP with various strings, in rotation. -The second argument TO-STRINGS contains the replacement strings, -separated by spaces. Third arg DELIMITED (prefix arg if interactive), -if non-nil, means replace only matches surrounded by word boundaries. -This command works like `query-replace-regexp' except that each -successive replacement uses the next successive replacement string, +The second argument TO-STRINGS contains the replacement strings, separated +by spaces. This command works like `query-replace-regexp' except that +each successive replacement uses the next successive replacement string, wrapping around from the last such string to the first. In Transient Mark mode, if the mark is active, operate on the contents