emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lispref/modes.texi


From: Colin Walters
Subject: [Emacs-diffs] Changes to emacs/lispref/modes.texi
Date: Sat, 08 Jun 2002 16:26:37 -0400

Index: emacs/lispref/modes.texi
diff -c emacs/lispref/modes.texi:1.47 emacs/lispref/modes.texi:1.48
*** emacs/lispref/modes.texi:1.47       Sun Mar  3 15:27:25 2002
--- emacs/lispref/modes.texi    Sat Jun  8 16:26:37 2002
***************
*** 1742,1747 ****
--- 1742,1748 ----
  * Search-based Fontification::
  * Other Font Lock Variables::
  * Levels of Font Lock::
+ * Precalculated Fontification::
  * Faces for Font Lock::
  * Syntactic Font Lock::
  @end menu
***************
*** 2083,2088 ****
--- 2084,2101 ----
  function and variable declarations, and all builtin function names,
  wherever they appear.
  @end itemize
+ 
+ @node Precalculated Fontification
+ @subsection Precalculated Fontification
+ 
+ In addition to using @code{font-lock-defaults} for search-based
+ fontification, you may use the special character property
+ @code{font-lock-face} (@pxref{Special Properties}).  This property
+ acts just like the explicit @code{face} property, but its activation
+ is toggled when the user calls @kbd{M-x font-lock-mode}.  Using
+ @code{font-lock-face} is especially conveninent for special modes
+ which construct their text programmatically, such as
+ @code{list-buffers} and @code{occur}.
  
  @node Faces for Font Lock
  @subsection Faces for Font Lock



reply via email to

[Prev in Thread] Current Thread [Next in Thread]