mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-04 19:10:37 -08:00
(life-display-generation): Test for input manually if `sleeptime' is negative
or null.
This commit is contained in:
parent
c98557ae61
commit
33aba6a0e3
2 changed files with 5 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
2006-09-09 Micha,Ak(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.
|
||||
|
||||
|
|
|
|||
|
|
@ -269,7 +269,8 @@ generations (this defaults to 1)."
|
|||
(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 ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue