]> 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:00:52 +0000 (14:00 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Thu, 31 Jul 2008 14:00:52 +0000 (14:00 +0000)
(arglist-cont-nonempty) from c-offsets-alist to c-hanging-braces-alist
like other styles already have.

lisp/progmodes/cc-styles.el

index ffe2336ad2344662e19110778e253577bcbf6cb6..b6ddb71ec7b00d1bd9918af30757a4732d0dec84 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)