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

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

Modifying Indentation Style


From: Ryan Bowman
Subject: Modifying Indentation Style
Date: Fri, 18 Feb 2005 15:01:09 -0800 (PST)

I want to change the c indentation style (regarding
how braces are indented) from

if ()
  {
  }

to

if ()
{
}

I thought that the following would work but it doesn't
seem to be having any effect.

(c-add-style "ryan" 
             '("gnu" 
               (c-offset-list . ((block-open . -2))))

What is the correct way to accomplish this?

=====
----
Ryan Bowman

That stupid bird stole my quarter.  I hate birds. - Eddie
----

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



reply via email to

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