el-get/recipes/ntcmd.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

8 lines
312 B
Plaintext

(:name ntcmd
:type emacswiki
:description "major mode for editing cmd scripts"
:load-path "."
:prepare (progn
(add-to-list 'auto-mode-alist '("\\.[bB][Aa][Tt]\\'" . ntcmd-mode))
(add-to-list 'auto-mode-alist '("\\.[Cc][Mm][Dd]\\'" . ntcmd-mode))))