(python-cc-style): Added definitions for c-hanging-braces-alist which

make the most sense for PyMethodDef structures.
This commit is contained in:
Barry Warsaw 1996-12-20 16:42:04 +00:00
parent 0b25a662e0
commit 7607e8f4fb
1 changed files with 8 additions and 2 deletions

View File

@ -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.")