projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ebf076
)
Fix for single :custom (foo bar)
author
John Wiegley
<johnw@newartisans.com>
Tue, 28 Nov 2017 22:39:59 +0000
(14:39 -0800)
committer
John Wiegley
<johnw@newartisans.com>
Tue, 28 Nov 2017 22:39:59 +0000
(14:39 -0800)
lisp/use-package/use-package.el
patch
|
blob
|
history
diff --git
a/lisp/use-package/use-package.el
b/lisp/use-package/use-package.el
index f6c21e0a903d1fd269f97ec3cb2162b61befecd0..a2ce335d1d8ed06315b8262ff1cc0b504f6ba126 100644
(file)
--- 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."