# HG changeset patch # User Juanma Barranquero # Date 1166544894 0 # Node ID c751765838ca5a2ec61645db10796cf794751e42 # Parent e97a993d4ab6e1f311cccda4508aea6f52859a4f (Fsearch_forward): Doc fix. diff -r e97a993d4ab6 -r c751765838ca src/search.c --- a/src/search.c Tue Dec 19 16:11:24 2006 +0000 +++ b/src/search.c Tue Dec 19 16:14:54 2006 +0000 @@ -2165,8 +2165,8 @@ doc: /* Search forward from point for STRING. Set point to the end of the occurrence found, and return point. An optional second argument bounds the search; it is a buffer position. -The match found must not extend after that position. nil is equivalent - to (point-max). +The match found must not extend after that position. If nil, it is + equivalent to (point-max). Optional third argument, if t, means if fail just return nil (no error). If not nil and not t, move to limit of search and return nil. Optional fourth argument is repeat count--search for successive occurrences.