From f0a74dfbaf87f65f6fe7f63fa63965a35fa30faa Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Wed, 10 Jan 2018 12:59:20 +0100 Subject: emacs: Indent delimiter first in term elements correctly --- lib/tools/test/emacs_SUITE_data/funcs | 5 +++++ lib/tools/test/emacs_SUITE_data/terms | 13 +++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) (limited to 'lib/tools/test') diff --git a/lib/tools/test/emacs_SUITE_data/funcs b/lib/tools/test/emacs_SUITE_data/funcs index b0c9716f0e..f2c9f44524 100644 --- a/lib/tools/test/emacs_SUITE_data/funcs +++ b/lib/tools/test/emacs_SUITE_data/funcs @@ -43,6 +43,11 @@ func4(A1 ) -> ok. +func5( + A41 + ,A42) -> + ok. + a_function_with_a_very_very_long_name() -> A00 = #record{ field1=1, diff --git a/lib/tools/test/emacs_SUITE_data/terms b/lib/tools/test/emacs_SUITE_data/terms index 02b2d665fd..352364a73c 100644 --- a/lib/tools/test/emacs_SUITE_data/terms +++ b/lib/tools/test/emacs_SUITE_data/terms @@ -64,7 +64,11 @@ binary(3) -> binary(4) -> << 1:8 - ,2:8 + ,2:8 + >>; +binary(5) -> + << 1:8 + , 2:8 >>. record(1) -> @@ -84,7 +88,12 @@ record(4) -> #record{ a=1 ,b=2 - }. + }; +record(Record) -> + Record#record{ + a=1 + ,b=2 + }. map(1) -> #{a=>1, -- cgit v1.2.3