]> arthur.barton.de Git - bup.git/commitdiff
Add initial .dir-locals.el to set emacs sh/python/c mode defaults.
authorRob Browning <rlb@defaultvalue.org>
Mon, 21 Mar 2011 00:41:49 +0000 (19:41 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Mon, 21 Mar 2011 08:30:57 +0000 (01:30 -0700)
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
.dir-locals.el [new file with mode: 0644]

diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644 (file)
index 0000000..37aceb6
--- /dev/null
@@ -0,0 +1,7 @@
+((nil . ())
+ (python-mode . ((indent-tabs-mode . nil)))
+ (sh-mode . ((indent-tabs-mode . nil)
+             (sh-basic-offset . 4)))
+ (c-mode . ((indent-tabs-mode . nil)
+            (c-basic-offset . 4)
+            (c-file-style . "BSD"))))