From: "Stephen J. Turnbull" <stephen(a)xemacs.org>
Date: Sat, 10 Nov 2012 18:19:22 +0900
jeff-xemacs(a)delphioutpost.com writes:
I've been having trouble with cc based modes for the past year.
After I open a .cc file then every other mode becomes infected with
c-before-change and c-after-change hooks.
Make sure you have the most recent version of the CC mode
distribution, and check M-x list-load-path-shadows to make sure
there's only one version of that file on your path.
I'm using cc-mode 1.57
This code
(or (memq 'add-hook-local c-emacs-features)
(make-local-hook 'before-change-functions))
was added in cc-mode 1.46
Doesn't your version of cc-mode.el have the same code?
If that still doesn't help, you should write the maintainer of CC
Mode, Alan Mackenzie <acm(a)muc.de>, about this. We can't really do
anything about this.
I didn't know he was the package manager.
-jeff
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta