emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/doc/lispref/modes.texi,v
Date: Tue, 18 Nov 2008 18:09:33 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      08/11/18 18:09:32

Index: modes.texi
===================================================================
RCS file: /sources/emacs/emacs/doc/lispref/modes.texi,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- modes.texi  15 Oct 2008 11:25:22 -0000      1.5
+++ modes.texi  18 Nov 2008 18:09:32 -0000      1.6
@@ -2830,13 +2830,23 @@
 @code{font-lock-default-unfontify-region}.
 @end defvar
 
address@hidden
address@hidden font-lock-inhibit-thing-lock
-List of Font Lock mode related modes that should not be turned on.
-Currently, valid mode names are @code{fast-lock-mode},
address@hidden and @code{lazy-lock-mode}.
address@hidden defvar
address@hidden ignore
address@hidden jit-lock-register function &optional contextual
+This function tells Font Lock mode to run the Lisp function
address@hidden any time it has to fontify or refontify part of the
+current buffer.  It calls @var{function} before calling the default
+fontification functions, and gives it two arguments, @var{start} and
address@hidden, which specify the region to be fontified or refontified.
+
+The optional argument @var{contextual}, if address@hidden, forces Font
+Lock mode to always refontify a syntactically relevant part of the
+buffer, and not just the modified lines.  This argument can usually be
+omitted.
address@hidden defun
+
address@hidden jit-lock-unregister function
+If @var{function} was previously registered as a fontification
+function using @code{jit-lock-register}, this function unregisters it.
address@hidden defun
 
 @node Levels of Font Lock
 @subsection Levels of Font Lock




reply via email to

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