src/utilities.lisp (once-only): Ensure that the BINDS argument is a list.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 6 Jul 2018 23:03:38 +0000 (00:03 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 9 Jul 2018 11:11:40 +0000 (12:11 +0100)
src/utilities.lisp

index 0f6a54b..1e10c24 100644 (file)
@@ -82,7 +82,7 @@
           form))))
 
 (export 'once-only)
-(defmacro once-only (binds &body body)
+(defmacro once-only ((&rest binds) &body body)
   "Macro helper for preventing repeated evaluation.
 
    The syntax is actually hairier than shown: