# HG changeset patch # User Alan Mackenzie # Date 1207729079 0 # Node ID 41ee2cc9680d339ffca583e9e639ab1bded08910 # Parent 475f29769814a16f0c92db29dd7562584e06cf22 (font-lock-extend-after-change-region-function): Make it buffer local. diff -r 475f29769814 -r 41ee2cc9680d lisp/font-lock.el --- a/lisp/font-lock.el Wed Apr 09 08:14:54 2008 +0000 +++ b/lisp/font-lock.el Wed Apr 09 08:17:59 2008 +0000 @@ -1007,6 +1007,7 @@ \(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."