From 5b0418e2f5e70d9eeadcfc2009bd7c69e336c939 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Tue, 15 Dec 2009 12:24:40 +0100 Subject: Added a indentation when using electric-comma. In the following code case X of foo -> 25 end, Automatically indent the line you stand on (end,) before adding newline and indent again. That way 'end' will be indented correctly after the comma is written. --- lib/tools/emacs/test.erl.indented | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/tools/emacs/test.erl.indented') diff --git a/lib/tools/emacs/test.erl.indented b/lib/tools/emacs/test.erl.indented index b2cc23b92b..6a4f0dd769 100644 --- a/lib/tools/emacs/test.erl.indented +++ b/lib/tools/emacs/test.erl.indented @@ -359,7 +359,7 @@ indent_icr(Z) -> % icr = if case receive X = 43 div 4, foo(X) end, - receive + receive {Z,_,_} -> X = 43 div 4, foo(X); -- cgit v1.2.3