]> xenbits.xensource.com Git - libvirt.git/commitdiff
misc: encode the Emacs suggstions from HACKING into a .dir-locals.el file
authorDiego Elio Pettenò <flameeyes@gmail.com>
Mon, 1 Nov 2010 11:03:17 +0000 (12:03 +0100)
committerEric Blake <eblake@redhat.com>
Mon, 1 Nov 2010 16:22:58 +0000 (10:22 -0600)
With this file in place, opening any source file in libvirt will set up
Emacs for proper indentation.

.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..7c483d2
--- /dev/null
@@ -0,0 +1,8 @@
+(
+ (c-mode . (
+            (c-file-style . "K&R")
+            (indent-tabs-mode . nil)
+            (c-indent-level . 4)
+            (c-basic-offset . 4)
+            ))
+ )