]> granicus.if.org Git - python/commitdiff
(python-cc-style): Although open braces for substatements typically
authorBarry Warsaw <barry@python.org>
Mon, 9 Dec 1996 23:01:30 +0000 (23:01 +0000)
committerBarry Warsaw <barry@python.org>
Mon, 9 Dec 1996 23:01:30 +0000 (23:01 +0000)
hang on the right side, if they are on a separate line, indent them
under the keyword.

Misc/ccpy-style.el

index 9e9e0af62661cdfe8dc262d25425f7f69d39990c..4dc1f4265f79a11176d9960f984b6734890a88bd 100644 (file)
@@ -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.")