summaryrefslogtreecommitdiff
path: root/lisp/font-lock.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2008-04-09 08:17:59 +0000
committerAlan Mackenzie <acm@muc.de>2008-04-09 08:17:59 +0000
commit96bdb5cf192adcda434b2ca1d45abd18dd037137 (patch)
tree196cfc94b4e3c6eba6fc2603383bed72de9fdae1 /lisp/font-lock.el
parentbae8ad5586946fd14603faafb321ca6f66cf4af4 (diff)
downloademacs-96bdb5cf192adcda434b2ca1d45abd18dd037137.tar.gz
(font-lock-extend-after-change-region-function): Make it buffer local.
Diffstat (limited to 'lisp/font-lock.el')
-rw-r--r--lisp/font-lock.el1
1 files changed, 1 insertions, 0 deletions
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."