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

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

How modify K&R c-mode style not treat functions different?


From: seberino
Subject: How modify K&R c-mode style not treat functions different?
Date: Mon, 28 Oct 2002 16:45:57 -0800
User-agent: Mutt/1.2.5.1i

K&R c-mode style put braces on same line
and various data structures unlike GNU
style which puts "{"'s on next line.....

How make K&R do this for *all* constructs
that use braces and *not* treat functions
different?!?!!?


(If I'm not mistaken... K&R style does this
"if {", "for (;;) {", "class myClass {"
and it is *only* for *functions* that we do 
this:

int myFunction
{
...
}

Chris
-- 
_______________________________________

Dr. Christian Seberino
SPAWAR Systems Center San Diego
Code 2363
49590 Lassing Road, Room A339
San Diego, CA 92152-6147
U.S.A.

Phone: (619) 553-7940
Fax:   (619) 553-1269
Email: seberino@spawar.navy.mil
_______________________________________




reply via email to

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