From: Richard M. Stallman Date: Thu, 12 Sep 2002 03:32:02 +0000 (+0000) Subject: (Search and Replace): Fix arg order for perform-replace. X-Git-Tag: ttn-vms-21-2-B4~13208 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=09facbd27acca6b17dc1af3016178665cbbfcbca;p=emacs.git (Search and Replace): Fix arg order for perform-replace. --- diff --git a/lispref/searching.texi b/lispref/searching.texi index 6918aa32f1a..97ab5ed6c3c 100644 --- a/lispref/searching.texi +++ b/lispref/searching.texi @@ -1060,12 +1060,12 @@ A positive number means to include that many lines both before and after. @section Search and Replace @cindex replacement -@defun perform-replace from-string replacements start end query-flag regexp-flag delimited-flag &optional repeat-count map +@defun perform-replace from-string replacements query-flag regexp-flag delimited-flag &optional repeat-count map start end This function is the guts of @code{query-replace} and related commands. It searches for occurrences of @var{from-string} in the text between positions @var{start} and @var{end} and replaces some or -all of them. If @var{start} is @code{nil}, point is used instead, and -the buffer's end is used for @var{end}. +all of them. If @var{start} is @code{nil} (or omitted), point is used +instead, and the buffer's end is used for @var{end}. If @var{query-flag} is @code{nil}, it replaces all occurrences; otherwise, it asks the user what to do about each one.