diff options
author | Tomas Abrahamsson <tomas.abrahamsson@gmail.com> | 2012-02-11 21:55:18 +0100 |
---|---|---|
committer | Henrik Nord <henrik@erlang.org> | 2012-06-12 11:59:52 +0200 |
commit | ad5f78aeaa4b33b6c3e8f50f0af2085d800765f6 (patch) | |
tree | 7a6f371dcc1ad36cd165a6e805bc3f0f956faf3f /aclocal.m4 | |
parent | 3341122a92e71ade3edc7ecaadab9f55da29e20d (diff) | |
download | otp-ad5f78aeaa4b33b6c3e8f50f0af2085d800765f6.tar.gz otp-ad5f78aeaa4b33b6c3e8f50f0af2085d800765f6.tar.bz2 otp-ad5f78aeaa4b33b6c3e8f50f0af2085d800765f6.zip |
Fix indentation of record fields in Emacs
In some situations, the indentation of record fields in Emacs was
strange. This example below shows how Emacs previously would indent
two similar pieces of code very differently:
some_function_with_a_very_long_name() ->
#'a-long-record-name-like-it-sometimes-is-with-asn.1-records'{
field1=a,
field2=b}.
x() ->
#some_record_name{
field1=a,
field2=b}.
This changes the indentation to be like below for both cases:
some_function() ->
#some_record{
field1=a,
field2=b}.
Diffstat (limited to 'aclocal.m4')
0 files changed, 0 insertions, 0 deletions