added a fix for markdown-mode

This commit is contained in:
Bozhidar Batsov 2012-04-20 12:09:12 +03:00
parent 8c04091c97
commit f6655ab2e9

View file

@ -53,6 +53,12 @@
("\\.less\\'" . less-css-mode)
("\\.lua\\'" . lua-mode)))
;; markdown-mode doesn't have autoloads for the auto-mode-alist
;; so we add them manually if it's already installed
(when (package-installed-p 'markdown-mode)
(add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode))
(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode)))
(dolist (entry prelude-auto-install-alist)
(let ((ext (car entry))
(mode (cdr entry)))