summaryrefslogtreecommitdiffstats
path: root/Misc/ccpy-style.el
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1996-12-09 23:01:30 (GMT)
committerBarry Warsaw <barry@python.org>1996-12-09 23:01:30 (GMT)
commit5632ce033f3a3ab46d360ac8fbf262769fe90d81 (patch)
tree7fb7dd7717a817f13bc673264d28a331395f095f /Misc/ccpy-style.el
parent24070ca391e8381328a1e69aeb8e80971c07bab3 (diff)
downloadcpython-5632ce033f3a3ab46d360ac8fbf262769fe90d81.zip
cpython-5632ce033f3a3ab46d360ac8fbf262769fe90d81.tar.gz
cpython-5632ce033f3a3ab46d360ac8fbf262769fe90d81.tar.bz2
(python-cc-style): Although open braces for substatements typically
hang on the right side, if they are on a separate line, indent them under the keyword.
Diffstat (limited to 'Misc/ccpy-style.el')
-rw-r--r--Misc/ccpy-style.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/ccpy-style.el b/Misc/ccpy-style.el
index 9e9e0af..4dc1f42 100644
--- a/Misc/ccpy-style.el
+++ b/Misc/ccpy-style.el
@@ -27,6 +27,8 @@
(defconst python-cc-style
'((indent-tabs-mode . t)
(c-basic-offset . 8)
+ (c-offset-alist . ((substatement-open . 0)
+ ))
)
"Standard Python C coding style.")