"Rancier, Jeff" <[EMAIL PROTECTED]> writes:

> Is there a simple way to have c++-mode behave (or inherit) my customizations
> for c-mode?


If you really mean that you don't care about c++-mode per-se, but would be
happy with working on c++ code in c-mode, one way would be to add a construct
into your .emacs like this:

(setq auto-mode-alist
      (append '(("\\.C$"  . c-mode)
                ("\\.cc$" . c-mode)
                ("\\.hh$" . c-mode)
                ("\\.c$"  . c-mode)
                ("\\.h$"  . c-mode))
              auto-mode-alist))


to force c++ code to be edited in c-mode.


Dave in Largo, FL



_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to