# HG changeset patch # User Juanma Barranquero # Date 1195474020 0 # Node ID 7a5fb763a182ae1e38f99f0a4b07ec83e111583a # Parent 2155f31345ade10e7d231d2d0502e1aa3cc9c0c7 (map-query-replace-regexp): Doc fix (revert part of revision 1.104, made on 2000-05-21 with no ChangeLog entry). diff -r 2155f31345ad -r 7a5fb763a182 lisp/replace.el --- a/lisp/replace.el Mon Nov 19 11:28:17 2007 +0000 +++ b/lisp/replace.el Mon Nov 19 12:07:00 2007 +0000 @@ -372,11 +372,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