From 7ea79d5214ade057aa2e2797610aa7fac4ebca4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Tue, 13 Dec 2016 10:59:21 +0100 Subject: Update CONTRIBUTING.md Add clearer instructions for Emacs. --- CONTRIBUTING.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 585e43dc62..33b7195aa1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -80,5 +80,8 @@ Check your coding style: * Do not commit commented-out code or files that are no longer needed. Remove the code or the files. * In most code (Erlang and C), indentation is 4 steps. Indentation using only spaces is **strongly recommended**. -(If you use Emacs, use Erlang-mode, and add `(setq c-basic-offset 4)` to `.emacs` to get -C code correctly indented.) + +If you use Emacs, use the Erlang mode, and add the following lines to `.emacs`: + + (setq indent-tabs-mode nil) + (setq c-basic-offset 4) -- cgit v1.2.3