summaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-04-04 22:01:20 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-04-04 22:01:20 +0000
commit79c918fd6aace3f5d94fe61973819574489ca755 (patch)
treec345ce834a75d96aaa1061cbd2033359ed7b0638 /.dir-locals.el
parent3a40d9ef6b921d2fe2f6f3928d4e849a900cda6d (diff)
update drobilla's fascistic dir-locals.el to force emacs users into whitespace submission even in C++ mode
git-svn-id: svn://localhost/ardour2/branches/3.0@9286 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index e0bca42455..4da46469b5 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -5,4 +5,10 @@
(c-hanging-braces-alist . '((namespace-open after)
(substatement-open after)
(brace-list-open after)))))
+ (c++-mode . ((indent-tabs-mode . t)
+ (c-file-style . "linux")
+ (c-label-minimum-indentation . 0)
+ (c-hanging-braces-alist . '((namespace-open after)
+ (substatement-open after)
+ (brace-list-open after)))))
(python-mode . ((indent-tabs-mode . nil))))