summaryrefslogtreecommitdiff
path: root/lispref/searching.texi
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2001-12-11 06:11:38 +0000
committerRichard M. Stallman <rms@gnu.org>2001-12-11 06:11:38 +0000
commit3ab8acb9c0ae86cf549a7a03c029c279172c6e67 (patch)
tree87a0d06a8bac2aa8ae06d88f4243855496a59dff /lispref/searching.texi
parent07f7b41c2fdb4ac23903f415469d2bbe5e20ec04 (diff)
downloademacs-3ab8acb9c0ae86cf549a7a03c029c279172c6e67.tar.gz
Minor clarifications for search-forward and set-match-data.
Diffstat (limited to 'lispref/searching.texi')
-rw-r--r--lispref/searching.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/lispref/searching.texi b/lispref/searching.texi
index a014080d845..1e140aa641a 100644
--- a/lispref/searching.texi
+++ b/lispref/searching.texi
@@ -90,7 +90,7 @@ If @var{repeat} is supplied (it must be a positive number), then the
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 @@ intended to access the match data for that search.
@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.