Gnu Emacs indenting of my typedef

Posted by Kinopiko on Stack Overflow See other posts from Stack Overflow or by Kinopiko
Published on 2010-04-09T02:00:07Z Indexed on 2010/04/09 2:03 UTC
Read the original article Hit count: 439

Filed under:
|
|

Gnu Emacs is insisting on indenting my typedef as follows:

typedef enum {
    horizontal,
    vertical,
}
    shapes;

I want it to indent as follows:

typedef enum {
    horizontal,
    vertical,
}
shapes;

What switch can I use to get that?

© Stack Overflow or respective owner

Related posts about emacs

Related posts about c