[erlang-questions] More file types recognized by erlang-mode
Robert Virding
robert.virding@REDACTED
Thu May 30 13:59:01 CEST 2013
An alternative is to add a comment line like
%% -*- mode: erlang; -*-
near the beginning of the file. With the correct comment structure of course.
Robert
----- Original Message -----
> From: "Lukas Larsson" <garazdawi@REDACTED>
> To: "Andrew Pennebaker" <andrew.pennebaker@REDACTED>
> Cc: "Erlang" <erlang-questions@REDACTED>
> Sent: Thursday, 30 May, 2013 10:42:06 AM
> Subject: Re: [erlang-questions] More file types recognized by
> erlang-mode
> 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
>
> _______________________________________________
> 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/d4ca75e6/attachment.htm>
More information about the erlang-questions
mailing list