summaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-16 16:37:35 +0000
committerDavid Robillard <d@drobilla.net>2011-03-16 16:37:35 +0000
commitbea03da826d0808b23f2f088c62e910b80e65404 (patch)
tree7312f455514f3c1efaae4bd60928355ca4ebbda5 /.dir-locals.el
parent9850407bd9178de794a7507ad858bcdfa227c842 (diff)
Add emacs directory local configuration to tame naughty editors and hopefully end this tab nightmare.
git-svn-id: svn://localhost/ardour2/branches/3.0@9159 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644
index 0000000000..e0bca42455
--- /dev/null
+++ b/.dir-locals.el
@@ -0,0 +1,8 @@
+((nil . ((fill-column . 79)))
+ (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))))