help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding keywords to cc-mode


From: Stefan Arentz
Subject: Adding keywords to cc-mode
Date: 13 Jun 2007 18:02:33 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

(I'm on Emacs 22.1)

Is it possible to add new keywords to cc-mode for highlighting? I'm working on
some simple 'Core Foundation' code for OS X and this C/C++ code typically has
types with names like CFSomethingRef or kCFFooConstant. Is there an easy way
to add regular expressions to cc-mode to recognize these and highlight them in
a specific color?

 S.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]