]> code.delx.au - gnu-emacs-elpa/commitdiff
If the COUNT is less than zero, run all the remaining tests.
authorJohn Wiegley <johnw@newartisans.com>
Mon, 1 Sep 2008 05:17:22 +0000 (01:17 -0400)
committerJohn Wiegley <johnw@newartisans.com>
Mon, 1 Sep 2008 05:17:22 +0000 (01:17 -0400)
chess-test.el

index 228fcfa49661be94942c78ce62c98951b9a45ce4..2446982a27c2bdd5095c21bc2f38d547f013f16c 100644 (file)
@@ -28,7 +28,7 @@
                     (index (if start
                                (max start 1)
                              1))
-                    (last-index (if count
+                    (last-index (if (and count (> count 0))
                                     (min db-count (+ index count))
                                   db-count))
                     (begin (current-time))