fixed an auto-install bug
This commit is contained in:
parent
b01797344f
commit
d8e36b4b74
1 changed files with 2 additions and 1 deletions
|
@ -67,7 +67,8 @@
|
||||||
(defmacro prelude-auto-install (extension package mode)
|
(defmacro prelude-auto-install (extension package mode)
|
||||||
`(add-to-list 'auto-mode-alist
|
`(add-to-list 'auto-mode-alist
|
||||||
`(,extension . (lambda ()
|
`(,extension . (lambda ()
|
||||||
(package-install ',package)
|
(unless (package-installed-p ',package)
|
||||||
|
(package-install ',package))
|
||||||
(,mode)))))
|
(,mode)))))
|
||||||
|
|
||||||
(defvar prelude-auto-install-alist
|
(defvar prelude-auto-install-alist
|
||||||
|
|
Loading…
Reference in a new issue