From: John Wiegley Date: Thu, 30 Nov 2017 19:20:17 +0000 (-0800) Subject: Don't check for an :ensure that use-package-always-ensure may have added X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~1745^2~15^2~217 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1fc543a212;p=emacs.git Don't check for an :ensure that use-package-always-ensure may have added Fixes https://github.com/jwiegley/use-package/issues/190 --- diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index 850e37be00c..0d86cc00e99 100644 --- a/lisp/use-package/use-package.el +++ b/lisp/use-package/use-package.el @@ -1769,8 +1769,7 @@ this file. Usage: (append args '(:demand t)) args))) (when (and use-package-always-ensure - (plist-member args* :load-path) - (not (plist-member args* :ensure))) + (plist-member args* :load-path)) (plist-put args* :ensure nil)) (unless (plist-member args* :init) (plist-put args* :init nil))