summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING11
1 files changed, 11 insertions, 0 deletions
diff --git a/HACKING b/HACKING
new file mode 100644
index 0000000..7b29add
--- /dev/null
+++ b/HACKING
@@ -0,0 +1,11 @@
+Indenting
+~~~~~~~~~
+To have consistent indenting we have vi modeline/emacs local variable
+headers in rebar's source files. This works automatically with vi.
+With Emacs you have to declare 'erlang-indent-level set to 4'
+as a safe local variable value. If not configured Emacs will prompt
+you to save this as part of custom-set-variables:
+ '(safe-local-variable-values (quote ((erlang-indent-level . 4))))
+You can also tell Emacs to ignore file variables:
+(setq enable-local-variables nil
+ enable-local-eval nil)