summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-02-06 06:10:30 +0000
committerRichard M. Stallman <rms@gnu.org>1998-02-06 06:10:30 +0000
commit687d6e7d0b2ffb34db4b0a809a3240b35f2272fa (patch)
tree7e97b2f966687579486f135296e14086db8cff15
parent9e26e75c1c25631d320fec9276fdab1a0fa7fd59 (diff)
downloademacs-687d6e7d0b2ffb34db4b0a809a3240b35f2272fa.tar.gz
(font-lock-keywords): Doc fix.
-rw-r--r--lisp/font-lock.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index cb72a6bc36e..0981df812c0 100644
--- a/lisp/font-lock.el
+++ b/lisp/font-lock.el
@@ -295,7 +295,7 @@ If a number, only buffers greater than this size have fontification messages."
(defvar font-lock-keywords nil
"A list of the keywords to highlight.
-Each element should be of the form:
+Each element should have one of these forms:
MATCHER
(MATCHER . MATCH)
@@ -318,7 +318,7 @@ MATCH-HIGHLIGHT should be of the form:
(MATCH FACENAME OVERRIDE LAXMATCH)
-Where MATCHER can be either the regexp to search for, or the function name to
+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).
MATCHER regexps can be generated via the function `regexp-opt'. MATCH is the
@@ -351,7 +351,7 @@ MATCH-ANCHORED should be of the form:
(MATCHER PRE-MATCH-FORM POST-MATCH-FORM MATCH-HIGHLIGHT ...)
-Where MATCHER is as for MATCH-HIGHLIGHT with one exception; see below.
+where MATCHER is as for MATCH-HIGHLIGHT with one exception; see below.
PRE-MATCH-FORM and POST-MATCH-FORM are evaluated before the first, and after
the last, instance MATCH-ANCHORED's MATCHER is used. Therefore they can be
used to initialise before, and cleanup after, MATCHER is used. Typically,