summaryrefslogtreecommitdiff
path: root/.dir-locals.el
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 /.dir-locals.el
parenta909eb4a229ebbea2d60717e748df3f0a2f69cc4 (diff)
downloadlibepoxy-a652f8f6a24c0e1599b1108398780df81d652582.tar.gz
Add .dir-locals to tell emacs how to format by default.
I'd apparently been typing in two different styles.
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
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)
+ )
+ )