summaryrefslogtreecommitdiff
path: root/lisp/jit-lock.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2006-03-15 22:26:09 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2006-03-15 22:26:09 +0000
commit4ffc92c2d8cffb5a8ed984bd2556ff7b124ccb0a (patch)
tree5380bc5eba8af29d5f8f4d9f028e0ff2ee4d8b8d /lisp/jit-lock.el
parent364d0cf80549428a8e1f880eab13e73e67cbdd69 (diff)
downloademacs-4ffc92c2d8cffb5a8ed984bd2556ff7b124ccb0a.tar.gz
* 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.
Diffstat (limited to 'lisp/jit-lock.el')
-rw-r--r--lisp/jit-lock.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/jit-lock.el b/lisp/jit-lock.el
index f82ead462f0..84e0dc0cab3 100644
--- a/lisp/jit-lock.el
+++ b/lisp/jit-lock.el
@@ -571,7 +571,7 @@ will take place when text is fontified stealthily."
(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.