diff options
| author | Alan Mackenzie | 2008-04-09 08:17:59 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2008-04-09 08:17:59 +0000 |
| commit | 96bdb5cf192adcda434b2ca1d45abd18dd037137 (patch) | |
| tree | 196cfc94b4e3c6eba6fc2603383bed72de9fdae1 | |
| parent | bae8ad5586946fd14603faafb321ca6f66cf4af4 (diff) | |
| download | emacs-96bdb5cf192adcda434b2ca1d45abd18dd037137.tar.gz emacs-96bdb5cf192adcda434b2ca1d45abd18dd037137.zip | |
(font-lock-extend-after-change-region-function): Make it buffer local.
| -rw-r--r-- | lisp/font-lock.el | 1 |
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 | |||
| 1007 | \(which directs the caller to fontify a default region). | 1007 | \(which directs the caller to fontify a default region). |
| 1008 | This function should preserve the match-data. | 1008 | This function should preserve the match-data. |
| 1009 | The region it returns may start or end in the middle of a line.") | 1009 | The region it returns may start or end in the middle of a line.") |
| 1010 | (make-variable-buffer-local 'font-lock-extend-after-change-region-function) | ||
| 1010 | 1011 | ||
| 1011 | (defun font-lock-fontify-buffer () | 1012 | (defun font-lock-fontify-buffer () |
| 1012 | "Fontify the current buffer the way the function `font-lock-mode' would." | 1013 | "Fontify the current buffer the way the function `font-lock-mode' would." |