diff options
author | John Wiegley <johnw@newartisans.com> | 2017-11-28 14:39:59 -0800 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2017-11-28 14:39:59 -0800 |
commit | c811637b303db7bb951e54f651da0ce4528ef130 (patch) | |
tree | 97fd5d6ec89552755dd2915ae80ae7539a415fe1 /lisp/use-package | |
parent | 2ebf0767332f0b56647085392adcc533904b96ef (diff) | |
download | emacs-c811637b303db7bb951e54f651da0ce4528ef130.tar.gz emacs-c811637b303db7bb951e54f651da0ce4528ef130.tar.bz2 emacs-c811637b303db7bb951e54f651da0ce4528ef130.zip |
Fix for single :custom (foo bar)
Diffstat (limited to 'lisp/use-package')
-rw-r--r-- | lisp/use-package/use-package.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index f6c21e0a903..a2ce335d1d8 100644 --- a/lisp/use-package/use-package.el +++ b/lisp/use-package/use-package.el @@ -1471,7 +1471,9 @@ deferred until the prefix key sequence is pressed." (use-package-error (concat label " a (<symbol> <value> [comment])" " or list of these"))) - arg))) + (if (symbolp (car arg)) + (list arg) + arg)))) (defun use-package-handler/:custom (name keyword args rest state) "Generate use-package custom keyword code." |