Well, first off, consider if you really want to do this. cc-mode is
much more powerful than the old c-mode. If you’re having trouble
getting your old offsets to work, try using
You might also consider using the package
But, if you still insist, add the following lines to your init.el:
(fmakunbound 'c-mode) (makunbound 'c-mode-map) (fmakunbound 'c++-mode) (makunbound 'c++-mode-map) (makunbound 'c-style-alist) (load-library "old-c-mode") (load-library "old-c++-mode")
This must be done before any other reference is made to either c-mode or c++-mode.