From: John Wiegley Date: Tue, 28 Nov 2017 22:39:59 +0000 (-0800) Subject: Fix for single :custom (foo bar) X-Git-Tag: emacs-29.0.90~1306^2~15^2~244 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c811637b303db7bb951e54f651da0ce4528ef130;p=emacs.git Fix for single :custom (foo bar) --- 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 ( [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."