]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't check for an :ensure that use-package-always-ensure may have added
authorJohn Wiegley <johnw@newartisans.com>
Thu, 30 Nov 2017 19:20:17 +0000 (11:20 -0800)
committerJohn Wiegley <johnw@newartisans.com>
Thu, 30 Nov 2017 19:20:17 +0000 (11:20 -0800)
Fixes https://github.com/jwiegley/use-package/issues/190

lisp/use-package/use-package.el

index 850e37be00c3608f67cf5e4ef6b1cbf312583356..0d86cc00e99f4bf62d154d0543b653cef98c9bbd 100644 (file)
@@ -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))