[erlang-patches] Fix filename extension association when using erlang-mode as Emacs package
Fri Mar 22 20:25:24 CET 2013
I just tried installing the Emacs erlang-mode from MELPA:
(it's being automatically built from the default branch of erlang/otp on
Github, i.e. maint.)
It is installable, but it doesn't automatically switch the buffer into
Erlang mode when opening a *.erl file, since the definitions for that
are not automatically evaluated on startup. Here is a patch that lets
Emacs' package manager understand what to do.
This change shouldn't affect the traditional way of installing and
loading erlang-mode - the additions are magic comments that are only
used during package installation.
git fetch git://github.com/legoscia/otp.git emacs-package
More information about the erlang-patches