summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-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 "