mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-05 11:49:37 +00:00
Ensure package-install support a second argument
* use-package.el (use-package-ensure-elpa): Do it.
This commit is contained in:
parent
5cbfd926c5
commit
c5e98d87da
1 changed files with 3 additions and 1 deletions
|
@ -462,7 +462,9 @@ manually updated package."
|
||||||
(if (package-installed-p package)
|
(if (package-installed-p package)
|
||||||
t
|
t
|
||||||
(if (or (assoc package package-archive-contents) no-refresh)
|
(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
|
(progn
|
||||||
(package-refresh-contents)
|
(package-refresh-contents)
|
||||||
(use-package-ensure-elpa package t)))))
|
(use-package-ensure-elpa package t)))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue