diff options
-rw-r--r-- | Misc/ccpy-style.el | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Misc/ccpy-style.el b/Misc/ccpy-style.el index c1cdd7b..07118e8 100644 --- a/Misc/ccpy-style.el +++ b/Misc/ccpy-style.el @@ -27,8 +27,14 @@ (defconst python-cc-style '((indent-tabs-mode . t) (c-basic-offset . 8) - (c-offsets-alist . ((substatement-open . 0) - )) + (c-offsets-alist . ((substatement-open . 0) + )) + (c-hanging-braces-alist . ((brace-list-open after) + (brace-list-intro) + (brace-list-close) + (substatement-open after) + (block-close . c-snug-do-while) + )) ) "Standard Python C coding style.") |