diff options
author | Magnus Henoch <[email protected]> | 2015-09-15 16:34:08 +0100 |
---|---|---|
committer | Magnus Henoch <[email protected]> | 2015-09-15 16:34:08 +0100 |
commit | 3e8de426873759d6e9f6b2f82b55ad4256d6a39f (patch) | |
tree | e55e0da86df823c18d198507815eb91afc215141 /lib/os_mon | |
parent | 59911612aec5f18b099dbc518089dd3ce48fdd97 (diff) | |
download | otp-3e8de426873759d6e9f6b2f82b55ad4256d6a39f.tar.gz otp-3e8de426873759d6e9f6b2f82b55ad4256d6a39f.tar.bz2 otp-3e8de426873759d6e9f6b2f82b55ad4256d6a39f.zip |
Don't add newline after arrow on -callback lines
In the Emacs Erlang mode, typing "->" will usually automatically add a
newline, which is usually what you want when writing a function, but
not when writing a type spec. Therefore, there is a check for not
adding the newline when the current line starts with -spec or -type.
This change adds -callback to that check, since it is usually written
the same way as type specs.
Diffstat (limited to 'lib/os_mon')
0 files changed, 0 insertions, 0 deletions