Mercurial > emacs
diff lisp/progmodes/cc-mode.el @ 80470:3f1db83024f5
(c-basic-common-init): Don't set
font-lock-extend-after-change-region-function globally.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 08 Apr 2008 15:27:49 +0000 |
parents | 9b3c86e7f6b0 |
children | 52c723879a4b ca9efc5939fc |
line wrap: on
line diff
--- a/lisp/progmodes/cc-mode.el Tue Apr 08 07:47:49 2008 +0000 +++ b/lisp/progmodes/cc-mode.el Tue Apr 08 15:27:49 2008 +0000 @@ -598,7 +598,7 @@ (add-hook 'before-change-functions 'c-before-change nil t) (make-local-hook 'after-change-functions) (add-hook 'after-change-functions 'c-after-change nil t) - (setq font-lock-extend-after-change-region-function + (set (make-local-variable 'font-lock-extend-after-change-region-function) 'c-extend-after-change-region)) ; Currently (2008-04), only used by AWK. (defun c-setup-doc-comment-style ()