mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 19:29:37 +00:00
Mark package as selected with package-install
Fixes https://github.com/jwiegley/use-package/issues/327
This commit is contained in:
parent
af65fbea63
commit
3aa6aecb7f
1 changed files with 1 additions and 3 deletions
|
@ -477,9 +477,7 @@ manually updated package."
|
|||
(if (package-installed-p package)
|
||||
t
|
||||
(if (or (assoc package package-archive-contents) no-refresh)
|
||||
(if (boundp 'package-selected-packages)
|
||||
(package-install package t)
|
||||
(package-install package))
|
||||
(package-install package)
|
||||
(progn
|
||||
(package-refresh-contents)
|
||||
(use-package-ensure-elpa package t)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue