I'm working with some Objective-C++ code (.mm
files), and I'm curious if it's possible to get emacs to use proper syntax highlighting for both the Objective-C parts and the C++ parts. objc-mode
and c++-mode
are both major modes (built on top of cc-mode
), so they can't be used at the same time.
Are there any minor modes or elisp hacks available to enable both Objective-C and C++ syntax highlighting at the same time?