auto-install now favors Prelude modules

This commit is contained in:
Bozhidar Batsov 2012-05-12 16:46:11 +03:00
parent 22be13f741
commit c8ce44ba68

View file

@ -71,24 +71,31 @@
(,mode)))))
(defvar prelude-auto-install-alist
'(("\\.markdown\\'" markdown-mode markdown-mode)
("\\.md\\'" markdown-mode markdown-mode)
("\\.haml\\'" haml-mode haml-mode)
("\\.scss\\'" prelude-scss scss-mode)
("\\.sass\\'" sass-mode sass-mode)
("\\.groovy\\'" groovy-mode groovy-mode)
("\\.yml\\'" yaml-mode yaml-mode)
("\\.php\\'" php-mode php-mode)
("\\.hs\\'" prelude-haskell haskell-mode)
("\\.less\\'" less-css-mode less-css-mode)
("\\.lua\\'" lua-mode lua-mode)
'(("\\.clj\\'" prelude-clojure clojure-mode)
("\\.coffee\\'" prelude-coffe coffee-mode)
("\\.css\\'" prelude-css css-mode)
("\\.el\\'" prelude-emacs-lisp emacs-lisp-mode)
("\\.erl\\'" erlang erlang-mode)
("\\.feature\\'" feature-mode feature-mode)
("\\.css\\'" prelude-css css-mode)
("\\.rb\\'" prelude-ruby ruby-mode)
("\\.groovy\\'" groovy-mode groovy-mode)
("\\.haml\\'" haml-mode haml-mode)
("\\.hs\\'" prelude-haskell haskell-mode)
("\\.js\\'" prelude-js js-mode)
("\\.latex\\'" prelude-latex LaTeX-mode)
("\\.less\\'" less-css-mode less-css-mode)
("\\.lisp\\'" prelude-common-lisp lisp-mode)
("\\.lua\\'" lua-mode lua-mode)
("\\.markdown\\'" markdown-mode markdown-mode)
("\\.md\\'" markdown-mode markdown-mode)
("\\.php\\'" php-mode php-mode)
("\\.pl\\'" prelude-perl cperl-mode)
("\\.clj\\'" prelude-clojure clojure-mode)))
("\\.py\\'" python python-mode)
("\\.rb\\'" prelude-ruby ruby-mode)
("\\.sass\\'" sass-mode sass-mode)
("\\.scm\\'" prelude-scheme scheme-mode)
("\\.scss\\'" prelude-scss scss-mode)
("\\.xml\\'" prelude-xml nxml-mode)
("\\.yml\\'" yaml-mode yaml-mode)))
;; markdown-mode doesn't have autoloads for the auto-mode-alist
;; so we add them manually if it's already installed