]> code.delx.au - gnu-emacs/commitdiff
(String Search): Clarify effect of NOERROR.
authorRichard M. Stallman <rms@gnu.org>
Tue, 18 Apr 2006 21:09:13 +0000 (21:09 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 18 Apr 2006 21:09:13 +0000 (21:09 +0000)
lispref/searching.texi

index 9b80fdfd930d988896da499c400dd77a8243ed27..644376f5cddc60b9fa4c469094d64baf4b6f10e6 100644 (file)
@@ -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