[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: c++-mode vs. c-mode
From: |
Kevin Rodgers |
Subject: |
Re: c++-mode vs. c-mode |
Date: |
Tue, 09 Aug 2005 10:42:08 -0600 |
User-agent: |
Mozilla Thunderbird 0.9 (X11/20041105) |
Rancier, Jeff wrote:
Is there a simple way to have c++-mode behave (or inherit) my customizations
for c-mode?
Put your customizations in a c-mode-common-hook function, or if you
don't want those customizations affecting Objective-C, Java, etc.
buffers: (add-hook 'c++-mode-hook (lambda () (run-hooks 'c-mode-hook)))
--
Kevin Rodgers