Merge pull request from ketbra/master
Update use-package.el GitHub-reference: https://github.com/jwiegley/use-package/issues/367
This commit is contained in:
commit
72452b5548
1 changed files with 2 additions and 0 deletions
|
@ -500,6 +500,8 @@ manually updated package."
|
|||
(defun use-package-ensure-elpa (package &optional no-refresh)
|
||||
(if (package-installed-p package)
|
||||
t
|
||||
(if (and (not no-refresh) (assoc package package-pinned-packages))
|
||||
(package-read-all-archive-contents))
|
||||
(if (or (assoc package package-archive-contents) no-refresh)
|
||||
(package-install package)
|
||||
(progn
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue