diff options
author | John Wiegley <johnw@newartisans.com> | 2017-11-30 09:14:28 -0800 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2017-11-30 09:14:28 -0800 |
commit | 3847ec28ca1dc252042871b4b109fd5f906ce6af (patch) | |
tree | 077b63a3bfc54437d26170cc15f7bfc0b55b89e9 /lisp/use-package | |
parent | 3cb64648fcbe9732a88f5f59ee4f9c20a723e863 (diff) | |
download | emacs-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.el | 2 |
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 " |