diff options
author | Zack Rusin <zack@kde.org> | 2011-10-25 22:52:49 -0400 |
---|---|---|
committer | Zack Rusin <zack@kde.org> | 2011-10-25 22:52:49 -0400 |
commit | 212718d6191b4a43c710a7979e566dbbb4123585 (patch) | |
tree | bae6a8929e4c34bf266ec091004f1c78a9a5b278 /.dir-locals.el | |
parent | fc9615a16835808708c8d99127d0a77ef18dc0de (diff) |
Improve the indention in emacs just a bit.
By default emacs offsets both the inline and in-namespaces, lets
fix that.
Diffstat (limited to '.dir-locals.el')
-rw-r--r-- | .dir-locals.el | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/.dir-locals.el b/.dir-locals.el index 5066446c..062c6fcb 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -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))) + ) + ) |