diff options
author | Björn Gustavsson <[email protected]> | 2016-12-13 12:14:58 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2016-12-13 12:14:58 +0100 |
commit | f62034df65c5f809a1cbe70ceb03bc7934ae2e52 (patch) | |
tree | a94a8621a1e2ec01dc1f0989f9c1af65ccddc6ba | |
parent | 45af5c389e5a9594bef227658870585e6887a6d6 (diff) | |
download | otp-bjorn/contributing-1.tar.gz otp-bjorn/contributing-1.tar.bz2 otp-bjorn/contributing-1.zip |
Update CONTRIBUTING.mdbjorn/contributing-1
Turns out that we must use setq-default.
Correct unbalanced parenthesis in the hook.
-rw-r--r-- | CONTRIBUTING.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 342d5a86a9..328b9f7859 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -85,7 +85,7 @@ Check your coding style: If you use Emacs, use the Erlang mode, and add the following lines to `.emacs`: - (setq indent-tabs-mode nil) + (setq-default indent-tabs-mode nil) (setq c-basic-offset 4) If you want to change the setting only for the Erlang mode, you can use a hook like this: @@ -94,6 +94,5 @@ If you want to change the setting only for the Erlang mode, you can use a hook l (add-hook 'erlang-mode-hook 'my-erlang-hook) (defun my-erlang-hook () - ( ;;; Untabify. (setq indent-tabs-mode nil)) ``` |