From: Richard M. Stallman Date: Tue, 18 Apr 2006 21:09:13 +0000 (+0000) Subject: (String Search): Clarify effect of NOERROR. X-Git-Tag: emacs-pretest-22.0.90~3077 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=50363cd8abab4ae76c1b15f8c98e23b566f7e277;p=emacs.git (String Search): Clarify effect of NOERROR. --- diff --git a/lispref/searching.texi b/lispref/searching.texi index 9b80fdfd930..644376f5cdd 100644 --- a/lispref/searching.texi +++ b/lispref/searching.texi @@ -86,6 +86,10 @@ upper bound and returns @code{nil}. (It would be more consistent now to return the new position of point in that case, but some existing programs may depend on a value of @code{nil}.) +The argument @var{noerror} only affects valid searches which fail to +find a match. Invalid arguments cause errors regardless of +@var{noerror}. + 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