diff options
| author | Chong Yidong | 2008-07-31 14:00:52 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-07-31 14:00:52 +0000 |
| commit | 0467478ba85b74b761bd1674aa59fbbb471686bc (patch) | |
| tree | 49ff67a34d3e947fae335603dc759069b9f6193d | |
| parent | 0e829dd0197f45230422bbd2475511e18a7407d4 (diff) | |
| download | emacs-0467478ba85b74b761bd1674aa59fbbb471686bc.tar.gz emacs-0467478ba85b74b761bd1674aa59fbbb471686bc.zip | |
(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.
| -rw-r--r-- | lisp/progmodes/cc-styles.el | 9 |
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 @@ | |||
| 162 | ("ellemtel" | 162 | ("ellemtel" |
| 163 | (c-basic-offset . 3) | 163 | (c-basic-offset . 3) |
| 164 | (c-comment-only-line-offset . 0) | 164 | (c-comment-only-line-offset . 0) |
| 165 | (c-hanging-braces-alist . ((substatement-open before after))) | 165 | (c-hanging-braces-alist . ((substatement-open before after) |
| 166 | (arglist-cont-nonempty))) | ||
| 166 | (c-offsets-alist . ((topmost-intro . 0) | 167 | (c-offsets-alist . ((topmost-intro . 0) |
| 167 | (substatement . +) | 168 | (substatement . +) |
| 168 | (substatement-open . 0) | 169 | (substatement-open . 0) |
| 169 | (case-label . +) | 170 | (case-label . +) |
| 170 | (access-label . -) | 171 | (access-label . -) |
| 171 | (inclass . ++) | 172 | (inclass . +) |
| 172 | (inline-open . 0) | 173 | (inline-open . 0)))) |
| 173 | (arglist-cont-nonempty)))) | ||
| 174 | |||
| 175 | ("linux" | 174 | ("linux" |
| 176 | (c-basic-offset . 8) | 175 | (c-basic-offset . 8) |
| 177 | (c-comment-only-line-offset . 0) | 176 | (c-comment-only-line-offset . 0) |