# HG changeset patch # User Richard M. Stallman # Date 1167156147 0 # Node ID 898edc5838144be3ddccc134d24dac0d02dea21f # Parent 03827985fb39d9af77e0e214b98946e5600330fe (Fsearch_forward): Doc fix. diff -r 03827985fb39 -r 898edc583814 src/search.c --- a/src/search.c Tue Dec 26 18:01:40 2006 +0000 +++ b/src/search.c Tue Dec 26 18:02:27 2006 +0000 @@ -2165,7 +2165,7 @@ 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. If nil, it is +The match found must not extend after that position. A value of nil 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.