summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2017-12-04 16:46:46 -0800
committerJohn Wiegley <johnw@newartisans.com>2017-12-04 16:46:46 -0800
commitee07e709eadc85479c06db9ca40e6f18bcb41463 (patch)
tree20e12e988855d9acc4eeefa62cdc84112897262b /lisp
parentafdf1c363809e721a838f8e7d0b9b791f3138b52 (diff)
downloademacs-ee07e709eadc85479c06db9ca40e6f18bcb41463.tar.gz
emacs-ee07e709eadc85479c06db9ca40e6f18bcb41463.tar.bz2
emacs-ee07e709eadc85479c06db9ca40e6f18bcb41463.zip
Fix the case where :ensure is given no arguments
Fixes https://github.com/jwiegley/use-package/issues/543
Diffstat (limited to 'lisp')
-rw-r--r--lisp/use-package/use-package-ensure.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/use-package/use-package-ensure.el b/lisp/use-package/use-package-ensure.el
index 083350edf9e..9cf94419d8a 100644
--- a/lisp/use-package/use-package-ensure.el
+++ b/lisp/use-package/use-package-ensure.el
@@ -134,7 +134,7 @@ manually updated package."
(defun use-package-normalize/:ensure (name keyword args)
(if (null args)
- t
+ (list t)
(use-package-only-one (symbol-name keyword) args
#'(lambda (label arg)
(pcase arg