/[emacs]/emacs/lispref/modes.texi
ViewVC logotype

Diff of /emacs/lispref/modes.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.47 by rms, Sun Mar 3 20:27:25 2002 UTC revision 1.48 by walters, Sat Jun 8 20:26:37 2002 UTC
# Line 1742  comments and string constants, and highl Line 1742  comments and string constants, and highl
1742  * Search-based Fontification::  * Search-based Fontification::
1743  * Other Font Lock Variables::  * Other Font Lock Variables::
1744  * Levels of Font Lock::  * Levels of Font Lock::
1745    * Precalculated Fontification::
1746  * Faces for Font Lock::  * Faces for Font Lock::
1747  * Syntactic Font Lock::  * Syntactic Font Lock::
1748  @end menu  @end menu
# Line 2084  function and variable declarations, and Line 2085  function and variable declarations, and
2085  wherever they appear.  wherever they appear.
2086  @end itemize  @end itemize
2087    
2088    @node Precalculated Fontification
2089    @subsection Precalculated Fontification
2090    
2091    In addition to using @code{font-lock-defaults} for search-based
2092    fontification, you may use the special character property
2093    @code{font-lock-face} (@pxref{Special Properties}).  This property
2094    acts just like the explicit @code{face} property, but its activation
2095    is toggled when the user calls @kbd{M-x font-lock-mode}.  Using
2096    @code{font-lock-face} is especially conveninent for special modes
2097    which construct their text programmatically, such as
2098    @code{list-buffers} and @code{occur}.
2099    
2100  @node Faces for Font Lock  @node Faces for Font Lock
2101  @subsection Faces for Font Lock  @subsection Faces for Font Lock
2102    

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.48

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26