summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-11-14 11:01:45 -0800
committerEric Anholt <eric@anholt.net>2013-11-14 11:10:10 -0800
commita652f8f6a24c0e1599b1108398780df81d652582 (patch)
tree9cf6fdfc5480bce006ee4469b9fea101f4188d46
parenta909eb4a229ebbea2d60717e748df3f0a2f69cc4 (diff)
Add .dir-locals to tell emacs how to format by default.
I'd apparently been typing in two different styles.
-rw-r--r--.dir-locals.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644
index 0000000..7f3eee2
--- /dev/null
+++ b/.dir-locals.el
@@ -0,0 +1,6 @@
+((nil
+ (indent-tabs-mode . nil)
+ (tab-width . 8)
+ (c-basic-offset . 4)
+ )
+ )