]> git.cworth.org Git - apitrace/commitdiff
Improve the indention in emacs just a bit.
authorZack Rusin <zack@kde.org>
Wed, 26 Oct 2011 02:52:49 +0000 (22:52 -0400)
committerZack Rusin <zack@kde.org>
Wed, 26 Oct 2011 02:52:49 +0000 (22:52 -0400)
By default emacs offsets both the inline and in-namespaces, lets
fix that.

.dir-locals.el

index 5066446cd3a18150196bd618588dc981db54be7c..062c6fcb121f0d2fcf61cc8a005565f8abe7daf0 100644 (file)
@@ -1,4 +1,10 @@
-((nil . ((indent-tabs-mode . nil)
-         (tab-width . 8)
-         (c-basic-offset . 4)))
-)
+((nil
+  (indent-tabs-mode . nil)
+  (tab-width . 8)
+  (c-basic-offset . 4)
+  (c-file-style . "stroustrup")
+  (eval . (progn
+           (c-set-offset 'innamespace '0)
+           (c-set-offset 'inline-open '0)))
+  )
+ )