summaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2014-03-24 10:27:00 -0600
committerEric Blake <eblake@redhat.com>2014-03-24 11:04:15 -0600
commitac532c69ea7dffc68c64f0fb9bcea7c60428a7e7 (patch)
tree5f36e5367e120cc4e0ea6dbcd7bb0f0cbe350d96 /.dir-locals.el
parentd4dd0d519c13232f38e4e57c375b38c9aa9f56e0 (diff)
downloadlibvirt-python-ac532c69ea7dffc68c64f0fb9bcea7c60428a7e7.tar.gz
maint: set up preferred emacs settings
Copy the relevant settings from libvirt.git, so that emacs users maintain the style previously used before the two repos split. * .dir-locals.el: New file. Signed-off-by: Eric Blake <eblake@redhat.com>
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 0000000..7c483d2
--- /dev/null
+++ b/.dir-locals.el
@@ -0,0 +1,8 @@
+(
+ (c-mode . (
+ (c-file-style . "K&R")
+ (indent-tabs-mode . nil)
+ (c-indent-level . 4)
+ (c-basic-offset . 4)
+ ))
+ )