diff options
| author | Richard M. Stallman | 2006-10-16 18:54:26 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-10-16 18:54:26 +0000 |
| commit | ca7683085998b2e5957b025b90e421a68f83dde6 (patch) | |
| tree | c67b21a663a7bcda94ee031e8d044e52deca7343 | |
| parent | d5168faff64e5138af49621d80dd4a4e0ef68504 (diff) | |
| download | emacs-ca7683085998b2e5957b025b90e421a68f83dde6.tar.gz emacs-ca7683085998b2e5957b025b90e421a68f83dde6.zip | |
(Precalculated Fontification): Don't say that
not setting font-lock-defaults avoids loading font-lock.
| -rw-r--r-- | lispref/modes.texi | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lispref/modes.texi b/lispref/modes.texi index bb8d840d0fb..d5e058fa1c8 100644 --- a/lispref/modes.texi +++ b/lispref/modes.texi | |||
| @@ -2816,8 +2816,7 @@ which construct their text programmatically, such as | |||
| 2816 | 2816 | ||
| 2817 | If your mode does not use any of the other machinery of Font Lock | 2817 | If your mode does not use any of the other machinery of Font Lock |
| 2818 | (i.e. it only uses the @code{font-lock-face} property), it should not | 2818 | (i.e. it only uses the @code{font-lock-face} property), it should not |
| 2819 | set the variable @code{font-lock-defaults}. That way, it will not | 2819 | set the variable @code{font-lock-defaults}. |
| 2820 | cause loading of the @file{font-lock} library. | ||
| 2821 | 2820 | ||
| 2822 | @node Faces for Font Lock | 2821 | @node Faces for Font Lock |
| 2823 | @subsection Faces for Font Lock | 2822 | @subsection Faces for Font Lock |