Skip to content
Merged
Prev Previous commit
Next Next commit
Allow custom arg-descriptor form to return multiple forms.
  • Loading branch information
fukamachi committed Aug 22, 2023
commit 1db53a1b893f1acc24614c9064a1209e6d9fcffb
2 changes: 1 addition & 1 deletion src/defcommand.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
(assert (alexandria:length= arg-descriptor 2))
(second arg-descriptor))
(t
`(list ,arg-descriptor))))
`(multiple-value-list ,arg-descriptor))))
arg-descriptors)))
(if (null pre-forms)
`(append ,@forms)
Expand Down