From 3847ec28ca1dc252042871b4b109fd5f906ce6af Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 30 Nov 2017 09:14:28 -0800 Subject: [PATCH] Allow :ensure to take a nil value again Fixes https://github.com/jwiegley/use-package/issues/526 --- lisp/use-package/use-package.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 " -- 2.39.2