Ensure package-install support a second argument

* use-package.el (use-package-ensure-elpa): Do it.
This commit is contained in:
Thierry Volpiatto 2016-02-04 11:19:23 +01:00
parent 5cbfd926c5
commit c5e98d87da

View file

@ -462,7 +462,9 @@ manually updated package."
(if (package-installed-p package)
t
(if (or (assoc package package-archive-contents) no-refresh)
(package-install package t)
(if (boundp 'package-selected-packages)
(package-install package t)
(package-install package))
(progn
(package-refresh-contents)
(use-package-ensure-elpa package t)))))