misc: encode the Emacs suggstions from HACKING into a .dir-locals.el file

With this file in place, opening any source file in libvirt will set up
Emacs for proper indentation.
This commit is contained in:
Diego Elio Pettenò 2010-11-01 12:03:17 +01:00 committed by Eric Blake
parent 5919afe3c6
commit d8c9001435
1 changed files with 8 additions and 0 deletions

8
.dir-locals.el Normal file
View File

@ -0,0 +1,8 @@
(
(c-mode . (
(c-file-style . "K&R")
(indent-tabs-mode . nil)
(c-indent-level . 4)
(c-basic-offset . 4)
))
)