]> git.eshelyaron.com Git - emacs.git/commitdiff
(c-style-alist): For the Ellemtel style, move the
authorChong Yidong <cyd@stupidchicken.com>
Thu, 31 Jul 2008 14:24:20 +0000 (14:24 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Thu, 31 Jul 2008 14:24:20 +0000 (14:24 +0000)
(arglist-cont-nonempty) from c-offsets-alist to c-hanging-braces-alist
like other styles already have.

lisp/progmodes/cc-styles.el

index 72bc86b6cc1eb629ad9b46192822666795e2f4f5..d8e577af3a2ed98abde34fe28243a4274f8c9168 100644 (file)
     ("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)