changeset 56553:a474fcb6d318

(font-lock-keywords): Docstring improvement.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 27 Jul 2004 18:45:41 +0000
parents 12ee8343c078
children 27c5b8f3d29b
files lisp/font-lock.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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