From 0467478ba85b74b761bd1674aa59fbbb471686bc Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Thu, 31 Jul 2008 14:00:52 +0000 Subject: [PATCH] (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. --- lisp/progmodes/cc-styles.el | 9 ++++----- 1 file 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) -- 2.39.2