(font-lock-extend-after-change-region-function): Make it buffer local.

This commit is contained in:
Alan Mackenzie 2008-04-09 08:17:59 +00:00
parent bae8ad5586
commit 96bdb5cf19

View file

@ -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."