]> git.eshelyaron.com Git - emacs.git/commitdiff
Allow :ensure to take a nil value again
authorJohn Wiegley <johnw@newartisans.com>
Thu, 30 Nov 2017 17:14:28 +0000 (09:14 -0800)
committerJohn Wiegley <johnw@newartisans.com>
Thu, 30 Nov 2017 17:14:28 +0000 (09:14 -0800)
Fixes https://github.com/jwiegley/use-package/issues/526

lisp/use-package/use-package.el

index 7a09a3be1b292f109b957d556ac68e5349acdea9..bf9d1c82709fbf85e06da1aca253a5426f67720e 100644 (file)
@@ -722,7 +722,7 @@ If the package is installed, its entry is removed from
       t
     (use-package-only-one (symbol-name keyword) args
       (lambda (label arg)
-        (if (use-package--non-nil-symbolp arg)
+        (if (symbolp arg)
             arg
           (use-package-error
            (concat ":ensure wants an optional package name "