Created
January 17, 2013 10:45
-
-
Save mtornwall/4555164 to your computer and use it in GitHub Desktop.
Gets rid of Erlang electric arrows in Emacs. Finally I can write cases and function clauses in one line without screaming in frustration.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Disable the electric arrow, but keep comma and semicolon | |
(setq-default erlang-electric-commands | |
'(erlang-electric-comma | |
erlang-electric-semicolon)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you so much, the electric arrow was driving me insane, seriously what maniac thought "fun(A, B) -> [A|B] end" should be newlined?