Allow :ensure to take a nil value again
Fixes https://github.com/jwiegley/use-package/issues/526
This commit is contained in:
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user