Permalink
Browse files

Improve the indention in emacs just a bit.

By default emacs offsets both the inline and in-namespaces, lets
fix that.
  • Loading branch information...
zackr committed Oct 26, 2011
1 parent fc9615a commit 212718d6191b4a43c710a7979e566dbbb4123585
Showing with 10 additions and 4 deletions.
  1. +10 −4 .dir-locals.el
View
@@ -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)))
+ )
+ )

0 comments on commit 212718d

Please sign in to comment.