]> git.eshelyaron.com Git - emacs.git/commitdiff
(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 897e543adf40a5f3ddcdfadb716544b1dc1f95f3..7a3a923e0dae14d7c5614156b653a2f80b13b797 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);