fixed an auto-install bug

This commit is contained in:
Bozhidar Batsov 2012-07-07 13:46:50 +03:00
parent b01797344f
commit d8e36b4b74

View file

@ -67,7 +67,8 @@
(defmacro prelude-auto-install (extension package mode)
`(add-to-list 'auto-mode-alist
`(,extension . (lambda ()
(package-install ',package)
(unless (package-installed-p ',package)
(package-install ',package))
(,mode)))))
(defvar prelude-auto-install-alist