[erlang-questions] More file types recognized by erlang-mode

Lukas Larsson garazdawi@REDACTED
Thu May 30 10:42:06 CEST 2013


Hello Andrew,

I have this in my ~/.emacs

(require 'erlang-start)
(setq auto-mode-alist (append auto-mode-alist
                              '(("\\.rel$" . erlang-mode)
                                ("\\.app$" . erlang-mode)
                                ("\\.appSrc$" . erlang-mode)
                                ("\\.app.src$" . erlang-mode)
                                ("\\.hrl$" . erlang-mode)
                                ("\\.erl$" . erlang-mode)
                                ("\\.yrl$" . erlang-mode))))

Just add whatever extensions you want to have as erlang specific.

Lukas


On Thu, May 30, 2013 at 12:34 AM, Andrew Pennebaker <
andrew.pennebaker@REDACTED> wrote:

> In the next version of erlang-mode, could we automatically load
> erlang-mode for more types, like rebar.config files?
>
> --
> Cheers,
>
> Andrew Pennebaker
> www.yellosoft.us
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130530/323b6db3/attachment.htm>


More information about the erlang-questions mailing list