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

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

customize c++ syntax highlighting


From: address@hidden
Subject: customize c++ syntax highlighting
Date: 1 Mar 2007 08:35:32 -0800
User-agent: G2/1.0

Hi,

Just wondered if anyone could tell me how in C++ major mode I can make
emacs treat a specific word as being syntactically equivalent to a
default C++ type.

For example,

If I type "int foo();" "int" is coloured green and "foo" is coloured
blue, which is nice.

But if I type "mytype foo();" I don't get any colours at all. I'd like
mytype to be treated as if it were a default C++ type.

Thanks,

Sugi



reply via email to

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