# HG changeset patch # User Juanma Barranquero # Date 1195476423 0 # Node ID d326128c6b1375bfcf1a5e92d5276e3b02a4f31e # Parent 7eeee580786abeacbd9d266b3109342b6ea94c21 (map-query-replace-regexp): Doc fix (revert part of revision 1.104, made on 2000-05-21 with no ChangeLog entry). diff -r 7eeee580786a -r d326128c6b13 lisp/replace.el --- 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