base: Fix bug in `while'.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 23 Apr 2006 00:07:42 +0000 (01:07 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 23 Apr 2006 00:07:42 +0000 (01:07 +0100)
Did I ever use this?

mdw-base.lisp

index 787255b..72b5b06 100644 (file)
@@ -149,7 +149,7 @@ gensyms will be bound to the corresponding VALUE."
 (defmacro while (cond &body body)
   "If COND is false, evaluate to nil; otherwise evaluate BODY and try again."
   `(loop
-     (unless `cond (return))
+     (unless ,cond (return))
      ,@body))
 
 ;;;--------------------------------------------------------------------------