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

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

Pre-processor commands in c-mode


From: Kevin Dziulko
Subject: Pre-processor commands in c-mode
Date: Fri, 21 Mar 2003 15:01:29 -0500 (EST)

Hello

Does any one know of a good method / setting / package for better
handling of pre-processor commands in c-mode, specificly spacing
and auto-indentation?

For example, if I enter the folloeing code, the #endif moves to
the beginning of the line when I press enter after it.

int main ()
{
    if (x)
    {
        #ifdef DEBUG
        printf("null");
#endif
    }
}

Thanks for any help.
Kevin





reply via email to

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