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`.
16 lines
637 B
Plaintext
16 lines
637 B
Plaintext
(:name hs-mode
|
|
:description "Haskell editing mode."
|
|
:type github
|
|
:pkgname "chrisdone/haskell-emacs"
|
|
:depends (peg auto-complete auto-complete-etags paredit)
|
|
:load-path ("./src/")
|
|
:features (hs)
|
|
:prepare (progn
|
|
;; From examples/init.el
|
|
(add-to-list 'auto-mode-alist
|
|
(cons "\\.hs\\'" 'hs-mode))
|
|
(add-to-list 'auto-mode-alist
|
|
(cons "\\.cabal\\'" 'hs-cabal-mode))
|
|
(add-to-list 'auto-mode-alist
|
|
'("\\.hcr\\'" . hs-core-mode))))
|