aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2004-07-27 18:45:41 +0000
committerStefan Monnier2004-07-27 18:45:41 +0000
commitf9c0bc2e7385ea561827f9e99d689d44ff7b0640 (patch)
tree0f011d88344498f09360965c718029ab757bbf1e
parent47a97a6db31119476194b4bb9f32d1891a3a2d1f (diff)
downloademacs-f9c0bc2e7385ea561827f9e99d689d44ff7b0640.tar.gz
emacs-f9c0bc2e7385ea561827f9e99d689d44ff7b0640.zip
(font-lock-keywords): Docstring improvement.
-rw-r--r--lisp/font-lock.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index 36dac14f6a9..8cb43bc0bd8 100644
--- a/lisp/font-lock.el
+++ b/lisp/font-lock.el
@@ -358,8 +358,9 @@ Each element in a user-level keywords list should have one of these forms:
358 (eval . FORM) 358 (eval . FORM)
359 359
360where MATCHER can be either the regexp to search for, or the function name to 360where MATCHER can be either the regexp to search for, or the function name to
361call to make the search (called with one argument, the limit of the search) and 361call to make the search (called with one argument, the limit of the search;
362return non-nil if it succeeds (and set `match-data' appropriately). 362it should return non-nil, move point, and set `match-data' appropriately iff
363it succeeds; like `re-search-forward' would).
363MATCHER regexps can be generated via the function `regexp-opt'. 364MATCHER regexps can be generated via the function `regexp-opt'.
364 365
365FORM is an expression, whose value should be a keyword element, evaluated when 366FORM is an expression, whose value should be a keyword element, evaluated when