summaryrefslogtreecommitdiff
path: root/lisp/use-package
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2017-11-30 09:14:28 -0800
committerJohn Wiegley <johnw@newartisans.com>2017-11-30 09:14:28 -0800
commit3847ec28ca1dc252042871b4b109fd5f906ce6af (patch)
tree077b63a3bfc54437d26170cc15f7bfc0b55b89e9 /lisp/use-package
parent3cb64648fcbe9732a88f5f59ee4f9c20a723e863 (diff)
downloademacs-3847ec28ca1dc252042871b4b109fd5f906ce6af.tar.gz
emacs-3847ec28ca1dc252042871b4b109fd5f906ce6af.tar.bz2
emacs-3847ec28ca1dc252042871b4b109fd5f906ce6af.zip
Allow :ensure to take a nil value again
Fixes https://github.com/jwiegley/use-package/issues/526
Diffstat (limited to 'lisp/use-package')
-rw-r--r--lisp/use-package/use-package.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el
index 7a09a3be1b2..bf9d1c82709 100644
--- a/lisp/use-package/use-package.el
+++ b/lisp/use-package/use-package.el
@@ -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 "