Hi,
I'm running emacs 23 with c++-mode and having some indentation problems. Suppose I have this code:
void foo()
{
if (cond)
{ <---
int i;
...
} <---
}
This seems to be the default behavior of the automatic indentation. However I'd like to change it so it'll be like this:
void foo()
{
if (cond)
{
int i;
...
}
}
Is there a way to do this easily by configuring c++ mode or my .emacs file?