Function: pong-pause
pong-pause is an interactive and byte-compiled function defined in
pong.el.gz.
Signature
(pong-pause)
Documentation
Pause the game.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/play/pong.el.gz
(defun pong-pause ()
"Pause the game."
(interactive nil pong-mode)
(gamegrid-kill-timer)
;; Oooohhh ugly. I don't know why, gamegrid-kill-timer don't do the
;; jobs it is made for. So I have to do it "by hand". Anyway, next
;; line is harmless.
(cancel-function-timers 'pong-update-game)
(define-key pong-mode-map pong-resume-key 'pong-resume))