Mercurial > emacs
changeset 73398:86946679c343
(Precalculated Fontification): Don't say that
not setting font-lock-defaults avoids loading font-lock.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 16 Oct 2006 18:54:26 +0000 |
parents | 4aa300075af8 |
children | 9cd63fc42776 |
files | lispref/modes.texi |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/modes.texi Mon Oct 16 18:53:23 2006 +0000 +++ b/lispref/modes.texi Mon Oct 16 18:54:26 2006 +0000 @@ -2816,8 +2816,7 @@ If your mode does not use any of the other machinery of Font Lock (i.e. it only uses the @code{font-lock-face} property), it should not -set the variable @code{font-lock-defaults}. That way, it will not -cause loading of the @file{font-lock} library. +set the variable @code{font-lock-defaults}. @node Faces for Font Lock @subsection Faces for Font Lock