summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Gustavsson <bgustavsson@gmail.com>2016-12-13 10:59:21 +0100
committerGitHub <noreply@github.com>2016-12-13 10:59:21 +0100
commit7ea79d5214ade057aa2e2797610aa7fac4ebca4c (patch)
tree9ed337110a41fbd300fdb82ce05f65b4831d7762
parent7df7ce3b5d00dbfeea55c33fe309fddf75f94cdb (diff)
downloaderlang-7ea79d5214ade057aa2e2797610aa7fac4ebca4c.tar.gz
Update CONTRIBUTING.md
Add clearer instructions for Emacs.
-rw-r--r--CONTRIBUTING.md7
1 files 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)