Skip to content

Instantly share code, notes, and snippets.

@mtornwall
Created January 17, 2013 10:45
Show Gist options
  • Save mtornwall/4555164 to your computer and use it in GitHub Desktop.
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.
;; Disable the electric arrow, but keep comma and semicolon
(setq-default erlang-electric-commands
'(erlang-electric-comma
erlang-electric-semicolon))
@ElectricCoffee
Copy link

Thank you so much, the electric arrow was driving me insane, seriously what maniac thought "fun(A, B) -> [A|B] end" should be newlined?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment