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)
|
||||
`(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
|
||||
|
|
Loading…
Reference in a new issue