# HG changeset patch # User Richard M. Stallman # Date 1111427550 0 # Node ID 569b1f95bbe0ba7a7490ea2983c47ccdcab0c1cb # Parent 73b73eabbe62ea0cad676cb61f459bf7a9c7afa9 (Other Font Lock Variables): Document font-lock-lines-before. diff -r 73b73eabbe62 -r 569b1f95bbe0 lispref/modes.texi --- 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