From: Daniel P. Berrange Date: Thu, 4 Jun 2015 13:30:07 +0000 (+0100) Subject: Add .dir-locals.el file to configure emacs coding style X-Git-Tag: v2.7.1~836^2~18 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=91288a58a550be4dc80628456d5e1d2e91424827;p=mirror_qemu.git Add .dir-locals.el file to configure emacs coding style Some default emacs setups indent by 2 spaces and uses tabs which is counter to the QEMU coding style rules. Adding a .dir-locals.el file in the top level of the GIT repo will inform emacs about the QEMU coding style, and so assist contributors in avoiding common style mistakes before they submit patches. Signed-off-by: Daniel P. Berrange Reviewed-by: Markus Armbruster Signed-off-by: Michael Tokarev --- diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 0000000000..3ac0cfc6f0 --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,2 @@ +((c-mode . ((c-file-style . "stroustrup") + (indent-tabs-mode . nil))))