Mercurial > emacs
changeset 41939:e9a4c1f03019
Minor clarifications for search-forward and set-match-data.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 11 Dec 2001 06:11:38 +0000 |
parents | f8c0a921c536 |
children | 63819c5d6049 |
files | lispref/searching.texi |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/searching.texi Tue Dec 11 06:10:32 2001 +0000 +++ b/lispref/searching.texi Tue Dec 11 06:11:38 2001 +0000 @@ -90,7 +90,7 @@ search is repeated that many times (each time starting at the end of the previous time's match). If these successive searches succeed, the function succeeds, moving point and returning its new value. Otherwise -the search fails. +the search fails, leaving point where it started. @end deffn @deffn Command search-backward string &optional limit noerror repeat @@ -1433,7 +1433,8 @@ @defun set-match-data match-list This function sets the match data from the elements of @var{match-list}, which should be a list that was the value of a previous call to -@code{match-data}. +@code{match-data}. (More precisely, anything that has the same format +will work.) If @var{match-list} refers to a buffer that doesn't exist, you don't get an error; that sets the match data in a meaningless but harmless way.