summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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."