changeset 47435:9b2bd1816871

(Search and Replace): Fix arg order for perform-replace.
author Richard M. Stallman <rms@gnu.org>
date Thu, 12 Sep 2002 03:32:02 +0000
parents 3891c4b6162f
children dc7ce8219431
files lispref/searching.texi
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/searching.texi	Thu Sep 12 03:31:05 2002 +0000
+++ b/lispref/searching.texi	Thu Sep 12 03:32:02 2002 +0000
@@ -1060,12 +1060,12 @@
 @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.