aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/replace.el
diff options
context:
space:
mode:
authorJuanma Barranquero2007-11-19 12:47:03 +0000
committerJuanma Barranquero2007-11-19 12:47:03 +0000
commit0ae03f1a0953f0036146c95167cf83c4facfed7c (patch)
tree60c8c7fe5da3d3c025988c75abbf58decf881a4a /lisp/replace.el
parent5f42a7eba296b36aa62f9a6019928fd313020ec3 (diff)
downloademacs-0ae03f1a0953f0036146c95167cf83c4facfed7c.tar.gz
emacs-0ae03f1a0953f0036146c95167cf83c4facfed7c.zip
(map-query-replace-regexp): Doc fix (revert part of 2000-05-21T17:04:47Z!fx@gnu.org
made with no ChangeLog entry).
Diffstat (limited to 'lisp/replace.el')
-rw-r--r--lisp/replace.el8
1 files changed, 3 insertions, 5 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index 8d8d9fc7af5..ebee65b2f40 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -366,11 +366,9 @@ using `search-forward-regexp' and `replace-match' is preferred." "22.1")
366 366
367(defun map-query-replace-regexp (regexp to-strings &optional n start end) 367(defun map-query-replace-regexp (regexp to-strings &optional n start end)
368 "Replace some matches for REGEXP with various strings, in rotation. 368 "Replace some matches for REGEXP with various strings, in rotation.
369The second argument TO-STRINGS contains the replacement strings, 369The second argument TO-STRINGS contains the replacement strings, separated
370separated by spaces. Third arg DELIMITED (prefix arg if interactive), 370by spaces. This command works like `query-replace-regexp' except that
371if non-nil, means replace only matches surrounded by word boundaries. 371each successive replacement uses the next successive replacement string,
372This command works like `query-replace-regexp' except that each
373successive replacement uses the next successive replacement string,
374wrapping around from the last such string to the first. 372wrapping around from the last such string to the first.
375 373
376In Transient Mark mode, if the mark is active, operate on the contents 374In Transient Mark mode, if the mark is active, operate on the contents