el-get/recipes/erlang-mode.rcp
Vincent Bernat 1ac5d5f9f9 Modify auto-mode-alist in prepare step
When lazy mode is enabled, altering `auto-mode-alist` in `post-init`
won't work until the mode is enabled a first time. We move all
modifications of `auto-mode-alist` in `prepare`.
2015-03-12 22:46:21 -04:00

7 lines
265 B
Plaintext

(:name erlang-mode
:description "Major mode for editing and running Erlang"
:type http
:url "http://www.erlang.org/download/contrib/erlang.el"
:prepare (progn
(add-to-list 'auto-mode-alist '("\\.erl$" . erlang-mode))))