From: Zack Rusin Date: Wed, 26 Oct 2011 02:52:49 +0000 (-0400) Subject: Improve the indention in emacs just a bit. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=212718d6191b4a43c710a7979e566dbbb4123585;p=apitrace Improve the indention in emacs just a bit. By default emacs offsets both the inline and in-namespaces, lets fix that. --- diff --git a/.dir-locals.el b/.dir-locals.el index 5066446..062c6fc 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))) + ) + )