Don't check for an :ensure that use-package-always-ensure may have added

Fixes https://github.com/jwiegley/use-package/issues/190
This commit is contained in:
John Wiegley 2017-11-30 11:20:17 -08:00
parent 2ff8af6495
commit 1fc543a212

View file

@ -1769,8 +1769,7 @@ this file. Usage:
(append args '(:demand t)) (append args '(:demand t))
args))) args)))
(when (and use-package-always-ensure (when (and use-package-always-ensure
(plist-member args* :load-path) (plist-member args* :load-path))
(not (plist-member args* :ensure)))
(plist-put args* :ensure nil)) (plist-put args* :ensure nil))
(unless (plist-member args* :init) (unless (plist-member args* :init)
(plist-put args* :init nil)) (plist-put args* :init nil))