comparison src/search.c @ 74917:898edc583814

(Fsearch_forward): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Tue, 26 Dec 2006 18:02:27 +0000
parents c751765838ca
children e90d04cd455a bc10a33dd40b
comparison
equal deleted inserted replaced
74916:03827985fb39 74917:898edc583814
2163 2163
2164 DEFUN ("search-forward", Fsearch_forward, Ssearch_forward, 1, 4, "MSearch: ", 2164 DEFUN ("search-forward", Fsearch_forward, Ssearch_forward, 1, 4, "MSearch: ",
2165 doc: /* Search forward from point for STRING. 2165 doc: /* Search forward from point for STRING.
2166 Set point to the end of the occurrence found, and return point. 2166 Set point to the end of the occurrence found, and return point.
2167 An optional second argument bounds the search; it is a buffer position. 2167 An optional second argument bounds the search; it is a buffer position.
2168 The match found must not extend after that position. If nil, it is 2168 The match found must not extend after that position. A value of nil is
2169 equivalent to (point-max). 2169 equivalent to (point-max).
2170 Optional third argument, if t, means if fail just return nil (no error). 2170 Optional third argument, if t, means if fail just return nil (no error).
2171 If not nil and not t, move to limit of search and return nil. 2171 If not nil and not t, move to limit of search and return nil.
2172 Optional fourth argument is repeat count--search for successive occurrences. 2172 Optional fourth argument is repeat count--search for successive occurrences.
2173 2173