changeset 80660:ba051454b2f2

(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.
author Chong Yidong <cyd@stupidchicken.com>
date Thu, 31 Jul 2008 14:24:20 +0000
parents 3e88cf45545f
children a44f4ed31447
files lisp/progmodes/cc-styles.el
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/cc-styles.el	Thu Jul 31 14:23:37 2008 +0000
+++ b/lisp/progmodes/cc-styles.el	Thu Jul 31 14:24:20 2008 +0000
@@ -164,16 +164,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)