[erlang-patches] Fix filename extension association when using erlang-mode as Emacs package

Fredrik <>
Mon Mar 25 10:06:03 CET 2013


On 03/22/2013 08:25 PM, Magnus Henoch wrote:
> I just tried installing the Emacs erlang-mode from MELPA:
>
> http://melpa.milkbox.net/
>
> (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
>
> https://github.com/legoscia/otp/compare/legoscia:emacs-package
> https://github.com/legoscia/otp/compare/legoscia:emacs-package.patch
>
> Regards,
> Magnus
> _______________________________________________
> erlang-patches mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-patches
Fetched, currently in the 'pu' branch.
Thanks,

-- 

BR Fredrik Gustafsson
Erlang OTP Team



More information about the erlang-patches mailing list