diff options
author | John Wiegley <johnw@newartisans.com> | 2016-04-03 11:29:36 -0700 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2016-04-03 11:29:36 -0700 |
commit | 153b542421c9c87e4a694f1df05c37970dee1d1c (patch) | |
tree | 79e0c54e78575e3ada83833ce0ad28600f76c1dd /lisp/use-package/use-package.el | |
parent | af65fbea63f42e2cacb83bd513144f900bab4605 (diff) | |
parent | 3aa6aecb7f26f79ee23bc1984bbb34c91502cb52 (diff) | |
download | emacs-153b542421c9c87e4a694f1df05c37970dee1d1c.tar.gz emacs-153b542421c9c87e4a694f1df05c37970dee1d1c.tar.bz2 emacs-153b542421c9c87e4a694f1df05c37970dee1d1c.zip |
Merge pull request from xuchunyang/fix-package-install
Mark package as selected with package-install
GitHub-reference: https://github.com/jwiegley/use-package/issues/336
Diffstat (limited to 'lisp/use-package/use-package.el')
-rw-r--r-- | lisp/use-package/use-package.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index 9437c217353..7dba2b5dcf0 100644 --- 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))))) |