HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5168fa
)
(Precalculated Fontification): Don't say that
author
Richard M. Stallman
<rms@gnu.org>
Mon, 16 Oct 2006 18:54:26 +0000
(18:54 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 16 Oct 2006 18:54:26 +0000
(18:54 +0000)
not setting font-lock-defaults avoids loading font-lock.
lispref/modes.texi
patch
|
blob
|
blame
|
history
diff --git
a/lispref/modes.texi
b/lispref/modes.texi
index
bb8d840
..
d5e058f
100644
(file)
--- a/
lispref/modes.texi
+++ b/
lispref/modes.texi
@@
-2816,8
+2816,7
@@
which construct their text programmatically, such as
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