diff options
author | Björn Gustavsson <[email protected]> | 2016-12-13 10:59:21 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2016-12-13 10:59:21 +0100 |
commit | 7ea79d5214ade057aa2e2797610aa7fac4ebca4c (patch) | |
tree | 9ed337110a41fbd300fdb82ce05f65b4831d7762 | |
parent | 7df7ce3b5d00dbfeea55c33fe309fddf75f94cdb (diff) | |
download | otp-7ea79d5214ade057aa2e2797610aa7fac4ebca4c.tar.gz otp-7ea79d5214ade057aa2e2797610aa7fac4ebca4c.tar.bz2 otp-7ea79d5214ade057aa2e2797610aa7fac4ebca4c.zip |
Update CONTRIBUTING.md
Add clearer instructions for Emacs.
-rw-r--r-- | CONTRIBUTING.md | 7 |
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) |