[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changing Emacs indentation behavior
From: |
Nonni |
Subject: |
Changing Emacs indentation behavior |
Date: |
Fri, 18 Jul 2008 16:08:41 -0700 (PDT) |
Hi,
I'm new to using emacs. I'm currently using to to write code and its going
well apart from one thing...
Emacs' auto indentation doesn't like the way I write my braces.
The way I want to write code:
if (version < FMOD_VERSION)
{
return 0;
}
The way Emacs wants me to write code:
if(version < FMOD_VERSION) {
return 0;
}
If I write the if-statement my way, the indentation of the braces are wrong,
emacs produces:
if (version < FMOD_VERSION)
{
return 0;
}
Is there any way to get emacs to auto-indent my code the way I want it to ?
Thanks.
--
View this message in context:
http://www.nabble.com/Changing-Emacs-indentation-behavior-tp18539174p18539174.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
- Changing Emacs indentation behavior,
Nonni <=