More regular indent.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 18 Apr 2009 11:45:12 +0300
changeset 129 23d028bad418
parent 128 5a3df58678d2
child 130 15209a6a5357
More regular indent.
.emacs-my
--- a/.emacs-my	Sat Apr 18 11:42:35 2009 +0300
+++ b/.emacs-my	Sat Apr 18 11:45:12 2009 +0300
@@ -811,31 +811,35 @@
 (setq c-echo-syntactic-information-p t)
 
 (defconst my-c-style
-  '((c-tab-always-indent        . t)
+  '((c-tab-always-indent . t)
     (c-comment-only-line-offset . 4)
-    (c-hanging-braces-alist     . ((substatement-open after)
-                                   (brace-list-open)))
-    (c-hanging-colons-alist     . ((member-init-intro before)
-                                   (inher-intro)
-                                   (case-label after)
-                                   (label after)
-                                   (access-label after)))
-    (c-cleanup-list             . (scope-operator
-                                   empty-defun-braces
-                                   defun-close-semi))
-    (c-offsets-alist            . ((arglist-intro . ++)
-                                   (arglist-close . c-lineup-arglist)
-                                   (arglist-cont-nonempty . ++)
-                                   (statement-block-intro . +)
-                                   (inline-open . 0)
-                                   (inexpr-class . 0)
-                                   (statement-cont . ++)
-                                   (label . 0)
-                                   (substatement-open . 0)
-                                   (case-label        . 0)
-                                   (block-open        . 0)
-                                   (comment-intro     . 0)
-                                   (knr-argdecl-intro . -)))
+    (c-hanging-braces-alist
+     . ((substatement-open after)
+        (brace-list-open)))
+    (c-hanging-colons-alist
+     . ((member-init-intro before)
+        (inher-intro)
+        (case-label after)
+        (label after)
+        (access-label after)))
+    (c-cleanup-list
+     . (scope-operator
+        empty-defun-braces
+        defun-close-semi))
+    (c-offsets-alist
+     . ((arglist-intro . ++)
+        (arglist-close . c-lineup-arglist)
+        (arglist-cont-nonempty . ++)
+        (statement-block-intro . +)
+        (inline-open . 0)
+        (inexpr-class . 0)
+        (statement-cont . ++)
+        (label . 0)
+        (substatement-open . 0)
+        (case-label . 0)
+        (block-open . 0)
+        (comment-intro . 0)
+        (knr-argdecl-intro . -)))
     (c-echo-syntactic-information-p . t))
   "My C Programming Style")