diff options
| author | Alan Mackenzie | 2008-04-09 08:11:58 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2008-04-09 08:11:58 +0000 |
| commit | c7ffd3f84e689f53920d88f2c896c15f92bd0645 (patch) | |
| tree | 171cf71f27c506d5b7e182d71faea9be6136aa30 | |
| parent | fd0a21518d318cfdc122af647536ab0529944262 (diff) | |
| download | emacs-c7ffd3f84e689f53920d88f2c896c15f92bd0645.tar.gz emacs-c7ffd3f84e689f53920d88f2c896c15f92bd0645.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 33238c275ec..6f010eee19b 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el | |||
| @@ -998,6 +998,7 @@ and end buffer positions \(in that order) of the region to refontify, or nil | |||
| 998 | \(which directs the caller to fontify a default region). | 998 | \(which directs the caller to fontify a default region). |
| 999 | This function should preserve the match-data. | 999 | This function should preserve the match-data. |
| 1000 | The region it returns may start or end in the middle of a line.") | 1000 | The region it returns may start or end in the middle of a line.") |
| 1001 | (make-variable-buffer-local 'font-lock-extend-after-change-region-function) | ||
| 1001 | 1002 | ||
| 1002 | (defun font-lock-fontify-buffer () | 1003 | (defun font-lock-fontify-buffer () |
| 1003 | "Fontify the current buffer the way the function `font-lock-mode' would." | 1004 | "Fontify the current buffer the way the function `font-lock-mode' would." |