comparison lispref/modes.texi @ 51703:b8860fc285cb

Minor Texinfo usage fix.
author Richard M. Stallman <rms@gnu.org>
date Mon, 30 Jun 2003 10:43:01 +0000
parents 59fa0bb3f282
children 8a7816e7f5bd
comparison
equal deleted inserted replaced
51702:82502bf293e0 51703:b8860fc285cb
2103 @code{list-buffers} and @code{occur}. 2103 @code{list-buffers} and @code{occur}.
2104 2104
2105 If your mode does not use any of the other machinery of Font Lock 2105 If your mode does not use any of the other machinery of Font Lock
2106 (i.e. it only uses the @code{font-lock-face} property), you can tell 2106 (i.e. it only uses the @code{font-lock-face} property), you can tell
2107 Emacs not to load all of font-lock.el (unless it's already loaded), by 2107 Emacs not to load all of font-lock.el (unless it's already loaded), by
2108 setting the variable @code{font-lock-core-only} to non-nil as part of 2108 setting the variable @code{font-lock-core-only} to non-@code{nil} as
2109 the @code{font-lock-defaults} settings. Here is the canonical way to 2109 part of the @code{font-lock-defaults} settings. Here is the canonical
2110 do this: 2110 way to do this:
2111 2111
2112 @example 2112 @example
2113 (set (make-local-variable 'font-lock-defaults) 2113 (set (make-local-variable 'font-lock-defaults)
2114 '(nil t nil nil nil (font-lock-core-only . t))) 2114 '(nil t nil nil nil (font-lock-core-only . t)))
2115 @end example 2115 @end example