(Fwhile): If mocklisp, test for nonzeroness.
authorRichard M. Stallman <rms@gnu.org>
Mon, 19 Jul 1993 22:09:41 +0000 (22:09 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 19 Jul 1993 22:09:41 +0000 (22:09 +0000)
src/eval.c

index 897e543..7a3a923 100644 (file)
@@ -746,7 +746,8 @@ until TEST returns nil.")
 
   test = Fcar (args);
   body = Fcdr (args);
-  while (tem = Feval (test), !NILP (tem))
+  while (tem = Feval (test),
+        (!EQ (Vmocklisp_arguments, Qt) ? XINT (tem) : !NILP (tem)))
     {
       QUIT;
       Fprogn (body);