From: Alan Mackenzie Date: Wed, 9 Apr 2008 08:17:59 +0000 (+0000) Subject: (font-lock-extend-after-change-region-function): Make it buffer local. X-Git-Tag: emacs-pretest-23.0.90~6399 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=96bdb5cf192adcda434b2ca1d45abd18dd037137;p=emacs.git (font-lock-extend-after-change-region-function): Make it buffer local. --- diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 2ac85876308..749f137f567 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -1007,6 +1007,7 @@ and end buffer positions \(in that order) of the region to refontify, or nil \(which directs the caller to fontify a default region). This function should preserve the match-data. The region it returns may start or end in the middle of a line.") +(make-variable-buffer-local 'font-lock-extend-after-change-region-function) (defun font-lock-fontify-buffer () "Fontify the current buffer the way the function `font-lock-mode' would."