(Fsearch_forward): Doc fix.
authorJuanma Barranquero <lekktu@gmail.com>
Tue, 19 Dec 2006 16:14:54 +0000 (16:14 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Tue, 19 Dec 2006 16:14:54 +0000 (16:14 +0000)
src/search.c

index d6572c5..d44ade3 100644 (file)
@@ -2165,8 +2165,8 @@ DEFUN ("search-forward", Fsearch_forward, Ssearch_forward, 1, 4, "MSearch: ",
        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.