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,v


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/lispref/modes.texi,v
Date: Sun, 10 Dec 2006 21:10:44 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      06/12/10 21:10:44

Index: modes.texi
===================================================================
RCS file: /cvsroot/emacs/emacs/lispref/modes.texi,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -b -r1.158 -r1.159
--- modes.texi  23 Nov 2006 18:36:22 -0000      1.158
+++ modes.texi  10 Dec 2006 21:10:44 -0000      1.159
@@ -2358,7 +2358,9 @@
 @defvar font-lock-defaults
 This variable is set by major modes, as a buffer-local variable, to
 specify how to fontify text in that mode.  It automatically becomes
-buffer-local when you set it.  The value should look like this:
+buffer-local when you set it.  If its value is @code{nil}, no
+highlighting is performed.  If address@hidden, the value should look
+like this:
 
 @example
 (@var{keywords} address@hidden address@hidden
@@ -2374,9 +2376,10 @@
 symbol how to do level 2, and so on.  @xref{Levels of Font Lock}.
 
 The second element, @var{keywords-only}, specifies the value of the
-variable @code{font-lock-keywords-only}.  If this is address@hidden,
-syntactic fontification (of strings and comments) is not performed.
address@hidden Font Lock}.
+variable @code{font-lock-keywords-only}.  If this is omitted or
address@hidden, syntactic fontification (of strings and comments) is also
+performed.  If this is address@hidden, such fontification is not
+performed.  @xref{Syntactic Font Lock}.
 
 The third element, @var{case-fold}, specifies the value of
 @code{font-lock-keywords-case-fold-search}.  If it is address@hidden,




reply via email to

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