changeset 60784:569b1f95bbe0

(Other Font Lock Variables): Document font-lock-lines-before.
author Richard M. Stallman <rms@gnu.org>
date Mon, 21 Mar 2005 17:52:30 +0000
parents 73b73eabbe62
children 2d8b73599b7b
files lispref/modes.texi
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/modes.texi	Mon Mar 21 17:50:35 2005 +0000
+++ b/lispref/modes.texi	Mon Mar 21 17:52:30 2005 +0000
@@ -2381,6 +2381,14 @@
 multiple lines, but this is too obscure to document in this manual.
 @end defvar
 
+@defvar font-lock-lines-before
+This variable specifies the number of extra lines to consider when
+refontifying the buffer after each text change.  Font lock begins
+refontifying from that number of lines before the changed region.  The
+default is 1, but using a larger value can be useful for coping with
+multi-line patterns.
+@end defvar
+
 @node Levels of Font Lock
 @subsection Levels of Font Lock