From dabf8de59f5f51f088ec978c12c174d9a66dbfe5 Mon Sep 17 00:00:00 2001 From: Jehan Date: Tue, 23 Aug 2016 18:11:53 +0200 Subject: [PATCH] Bug 770123 - Add emacs locale settings for GNU coding style. Taken from: https://gcc.gnu.org/wiki/FormattingCodeForGCC I assumed it is upstream enough, but since I don't use emacs, I have not tested and just hope it is good. Do not hesitate to commit better emacs settings to follow our coding style! --- .dir-locals.el | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .dir-locals.el diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 0000000000..4fce4d716a --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,3 @@ +((c-mode . ((c-file-style . "GNU") + (c-basic-offset . 2) + (indent-tabs-mode t))))