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

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

c++-mode newline after if


From: Rares Vernica
Subject: c++-mode newline after if
Date: Mon, 09 Apr 2007 11:40:20 -0700
User-agent: Thunderbird 1.5.0.10 (X11/20070403)

Hi,

The c++-mode in emacs 22 inserts a new line after the if, so the code will look like this:

if (a > 0)
  {

How can I disable this. I would like the code to be like this:

if (a > 0) {

Thanks a lot,
Ray


reply via email to

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