Mercurial > emacs
diff lisp/progmodes/cc-mode.el @ 94293:ca9efc5939fc
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1121
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 23 Apr 2008 05:55:42 +0000 |
parents | 1e3a407766b9 3f1db83024f5 |
children | 52b7a8c22af5 |
line wrap: on
line diff
--- a/lisp/progmodes/cc-mode.el Wed Apr 23 05:15:42 2008 +0000 +++ b/lisp/progmodes/cc-mode.el Wed Apr 23 05:55:42 2008 +0000 @@ -601,7 +601,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 ()