# HG changeset patch # User Stefan Monnier # Date 1090953941 0 # Node ID a474fcb6d318f98eb7ec90244ff884ef42695c5c # Parent 12ee8343c078c2f95a687518cbaa2f7cc449401d (font-lock-keywords): Docstring improvement. diff -r 12ee8343c078 -r a474fcb6d318 lisp/font-lock.el --- a/lisp/font-lock.el Tue Jul 27 02:10:51 2004 +0000 +++ b/lisp/font-lock.el Tue Jul 27 18:45:41 2004 +0000 @@ -358,8 +358,9 @@ (eval . FORM) where MATCHER can be either the regexp to search for, or the function name to -call to make the search (called with one argument, the limit of the search) and -return non-nil if it succeeds (and set `match-data' appropriately). +call to make the search (called with one argument, the limit of the search; +it should return non-nil, move point, and set `match-data' appropriately iff +it succeeds; like `re-search-forward' would). MATCHER regexps can be generated via the function `regexp-opt'. FORM is an expression, whose value should be a keyword element, evaluated when