mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-29 04:58:53 +08:00
1ac5d5f9f9
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`.
7 lines
265 B
Plaintext
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))))
|