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

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

Re: How to comment #if 0 / #endif to gray in C codes.


From: Ken Goldman
Subject: Re: How to comment #if 0 / #endif to gray in C codes.
Date: Wed, 31 May 2006 09:45:08 -0400
User-agent: Mozilla/5.0 (X11; U; AIX 000C89FF4C00; en-US; rv:1.7) Gecko/20040617

I can't help you make them gray, but do you know about hideif-mode?

With that mode, the lines between the #if can be hidden, like this:

#if 0...
#endif

You can toggle it on and off, and use it for macros as well.

Yiming Lu wrote:
Hi,

I want comment some lines with #if0 and #endif /
#elif,
and want the color of text to be gray, but in my emacs
it don't change color.

If I comment with /* and */, it does.


reply via email to

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