summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cc-styles.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2008-07-31 14:00:52 +0000
committerChong Yidong <cyd@stupidchicken.com>2008-07-31 14:00:52 +0000
commit0467478ba85b74b761bd1674aa59fbbb471686bc (patch)
tree49ff67a34d3e947fae335603dc759069b9f6193d /lisp/progmodes/cc-styles.el
parent0e829dd0197f45230422bbd2475511e18a7407d4 (diff)
downloademacs-0467478ba85b74b761bd1674aa59fbbb471686bc.tar.gz
(c-style-alist): For the Ellemtel style, move the
(arglist-cont-nonempty) from c-offsets-alist to c-hanging-braces-alist like other styles already have.
Diffstat (limited to 'lisp/progmodes/cc-styles.el')
-rw-r--r--lisp/progmodes/cc-styles.el9
1 files changed, 4 insertions, 5 deletions
diff --git a/lisp/progmodes/cc-styles.el b/lisp/progmodes/cc-styles.el
index ffe2336ad23..b6ddb71ec7b 100644
--- a/lisp/progmodes/cc-styles.el
+++ b/lisp/progmodes/cc-styles.el
@@ -162,16 +162,15 @@
("ellemtel"
(c-basic-offset . 3)
(c-comment-only-line-offset . 0)
- (c-hanging-braces-alist . ((substatement-open before after)))
+ (c-hanging-braces-alist . ((substatement-open before after)
+ (arglist-cont-nonempty)))
(c-offsets-alist . ((topmost-intro . 0)
(substatement . +)
(substatement-open . 0)
(case-label . +)
(access-label . -)
- (inclass . ++)
- (inline-open . 0)
- (arglist-cont-nonempty))))
-
+ (inclass . +)
+ (inline-open . 0))))
("linux"
(c-basic-offset . 8)
(c-comment-only-line-offset . 0)