From: Alan Mackenzie Date: Wed, 9 Apr 2008 08:11:58 +0000 (+0000) Subject: (font-lock-extend-after-change-region-function): Make it buffer local. X-Git-Tag: emacs-pretest-22.2.90~210 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c7ffd3f84e689f53920d88f2c896c15f92bd0645;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 33238c275ec..6f010eee19b 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -998,6 +998,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."