projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af65fbe
)
Mark package as selected with package-install
author
Chunyang Xu
<xuchunyang56@gmail.com>
Thu, 31 Mar 2016 11:25:48 +0000
(19:25 +0800)
committer
Chunyang Xu
<xuchunyang56@gmail.com>
Thu, 31 Mar 2016 11:33:55 +0000
(19:33 +0800)
Fixes https://github.com/jwiegley/use-package/issues/327
lisp/use-package/use-package.el
patch
|
blob
|
history
diff --git
a/lisp/use-package/use-package.el
b/lisp/use-package/use-package.el
index 9437c2173532851c37cdee6e24b617ceea77b270..7dba2b5dcf038348a20c269a17c3e41c6f38326c 100644
(file)
--- a/
lisp/use-package/use-package.el
+++ b/
lisp/use-package/use-package.el
@@
-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)))))