2006-09-09 Micha\e,Ak\e(Bl Cadilhac <michael.cadilhac@lrde.org>
+ * play/life.el (life-display-generation): Test for input manually if
+ `sleeptime' is negative or null.
+
* lpr.el (lpr-page-header-switches): Page title switch is one of them.
(print-region-1): Substitute `%s' with the page title.
(recenter 0)
;; Redisplay; if the user has hit a key, exit the loop.
- (or (eq t (sit-for sleeptime))
+ (or (and (sit-for sleeptime) (< 0 sleeptime))
+ (not (input-pending-p))
(throw 'life-exit nil)))
(defun life-extinct-quit ()