From f62034df65c5f809a1cbe70ceb03bc7934ae2e52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Tue, 13 Dec 2016 12:14:58 +0100 Subject: Update CONTRIBUTING.md Turns out that we must use setq-default. Correct unbalanced parenthesis in the hook. --- CONTRIBUTING.md | 3 +-- 1 file changed, 1 insertion(+), 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)) ``` -- cgit v1.2.3