diff options
| author | Richard M. Stallman | 2002-09-12 03:32:02 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-09-12 03:32:02 +0000 |
| commit | 09facbd27acca6b17dc1af3016178665cbbfcbca (patch) | |
| tree | 388bc01469b0d450cf00f7d4e6a429e74349b686 /lispref | |
| parent | 398101a6caefef2fa29cb8e639fbe385022b6956 (diff) | |
| download | emacs-09facbd27acca6b17dc1af3016178665cbbfcbca.tar.gz emacs-09facbd27acca6b17dc1af3016178665cbbfcbca.zip | |
(Search and Replace): Fix arg order for perform-replace.
Diffstat (limited to 'lispref')
| -rw-r--r-- | lispref/searching.texi | 6 |
1 files changed, 3 insertions, 3 deletions
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. | |||
| 1060 | @section Search and Replace | 1060 | @section Search and Replace |
| 1061 | @cindex replacement | 1061 | @cindex replacement |
| 1062 | 1062 | ||
| 1063 | @defun perform-replace from-string replacements start end query-flag regexp-flag delimited-flag &optional repeat-count map | 1063 | @defun perform-replace from-string replacements query-flag regexp-flag delimited-flag &optional repeat-count map start end |
| 1064 | This function is the guts of @code{query-replace} and related | 1064 | This function is the guts of @code{query-replace} and related |
| 1065 | commands. It searches for occurrences of @var{from-string} in the | 1065 | commands. It searches for occurrences of @var{from-string} in the |
| 1066 | text between positions @var{start} and @var{end} and replaces some or | 1066 | text between positions @var{start} and @var{end} and replaces some or |
| 1067 | all of them. If @var{start} is @code{nil}, point is used instead, and | 1067 | all of them. If @var{start} is @code{nil} (or omitted), point is used |
| 1068 | the buffer's end is used for @var{end}. | 1068 | instead, and the buffer's end is used for @var{end}. |
| 1069 | 1069 | ||
| 1070 | If @var{query-flag} is @code{nil}, it replaces all | 1070 | If @var{query-flag} is @code{nil}, it replaces all |
| 1071 | occurrences; otherwise, it asks the user what to do about each one. | 1071 | occurrences; otherwise, it asks the user what to do about each one. |