Emacs braces indentation

Posted by Zurahn on Stack Overflow See other posts from Stack Overflow or by Zurahn
Published on 2010-03-29T23:58:38Z Indexed on 2010/03/30 0:03 UTC
Read the original article Hit count: 425

Filed under:
|
|

I can't for the life of me find any answer to this through conventional Internet means, so I'm hoping for some help.

Emacs for me right now tends to do indentation on braces as follows:

if( ... )
  {

  }

Which I find incredibly irritating; I've never even seen this behaviour anywhere else. At any rate, the behaviour I'm expecting is,

if( ... )
{

}

If anyone knows how to modify this, it'd be greatly appreciated.

© Stack Overflow or respective owner

Related posts about emacs

Related posts about indentation