1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 19:10:37 -08:00

Fix for single :custom (foo bar)

This commit is contained in:
John Wiegley 2017-11-28 14:39:59 -08:00
parent 2ebf076733
commit c811637b30

View file

@ -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."