<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I have this in my ~/.emacs<br><br>
(require 'erlang-start)<br>(setq auto-mode-alist (append auto-mode-alist<br>                              '(("\\.rel$" . erlang-mode)<br>
                                ("\\.app$" . erlang-mode)<br>                                ("\\.appSrc$" . erlang-mode)<br>                                ("\\.app.src$" . erlang-mode)<br>
                                ("\\.hrl$" . erlang-mode)<br>
                                ("\\.erl$" . erlang-mode)<br>                                ("\\.yrl$" . erlang-mode))))<br><br></div>Just add whatever extensions you want to have as erlang specific. <br>
</div></blockquote><div><br></div><div style>Right. What I'm saying is, we could have erlang-mode register these file types automatically the first time it's loaded, so that we no longer need to add these to .emacs.</div>
<div><br></div><div>-- <br></div></div><div></div>Cheers,<div><br></div><div>Andrew Pennebaker</div><div><a href="http://www.yellosoft.us" target="_blank">www.yellosoft.us</a></div>
</div></div>