mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-29 13:08:51 +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`.
11 lines
406 B
Plaintext
11 lines
406 B
Plaintext
(:name mustache-mode
|
|
:description "Emacs Major Mode for Mustache"
|
|
:features mustache-mode
|
|
:type github
|
|
:pkgname "mustache/emacs"
|
|
:prepare (progn
|
|
(add-to-list 'auto-mode-alist
|
|
'("\\.hs$" . mustache-mode))
|
|
(add-to-list 'auto-mode-alist
|
|
'("\\.handlebars$" . mustache-mode))))
|