From 53d3a799e7999c1e74de5896985d4ba82d60ce2d Mon Sep 17 00:00:00 2001 From: Mathieu OTHACEHE Date: Sat, 22 Oct 2016 17:33:19 +0200 Subject: [PATCH] emacs: add a .dir-locals.el Use a global .dir-locals.el to setup a correct coding style for emacs users. --- .dir-locals.el | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .dir-locals.el diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 0000000000..dbf5ed0eda --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,4 @@ +((prog-mode . ((indent-tabs-mode . nil) + (tab-width . 4) + (c-basic-offset . 4))) + (c-mode . ((mode . C++))))