diff lisp/jit-lock.el @ 69499:caf8f09897bc

* font-lock.el (font-lock-lines-before): Delete variable, subsumed by the new extend-region feature. (font-lock-after-change-function): Update correspondingly. * jit-lock.el (jit-lock-after-change): Update correspondingly. * progmodes/grep.el (font-lock-lines-before): Don't disable. * modes.texi (Region to Fontify): Remove font-lock-lines-before.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 15 Mar 2006 22:26:09 +0000
parents 0c2790d73955
children 0b906e4eb64e e3bacb89536a
line wrap: on
line diff
--- a/lisp/jit-lock.el	Wed Mar 15 19:41:35 2006 +0000
+++ b/lisp/jit-lock.el	Wed Mar 15 22:26:09 2006 +0000
@@ -571,7 +571,7 @@
 	 (setq start (if region
 			 (car region)
 		       (goto-char start)
-		       (line-beginning-position (- 1 font-lock-lines-before))))
+		       (line-beginning-position)))
 
 	 ;; If we're in text that matches a multi-line font-lock pattern,
 	 ;; make sure the whole text will be redisplayed.