Mercurial > emacs
changeset 57826:26b411f0feaf
(5x5-new-game): Set up the buffer even if not interactive.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 01 Nov 2004 07:46:16 +0000 |
parents | 627816ec9a05 |
children | 69ecb96f8494 |
files | lisp/play/5x5.el |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/play/5x5.el Mon Nov 01 07:45:18 2004 +0000 +++ b/lisp/play/5x5.el Mon Nov 01 07:46:16 2004 +0000 @@ -224,9 +224,8 @@ 5x5-y-pos (/ 5x5-grid-size 2) 5x5-moves 0 5x5-grid (5x5-make-move (5x5-make-new-grid) 5x5-y-pos 5x5-x-pos)) - (when (interactive-p) - (5x5-draw-grid (list 5x5-grid)) - (5x5-position-cursor)))) + (5x5-draw-grid (list 5x5-grid)) + (5x5-position-cursor))) (defun 5x5-quit-game () "Quit the current game of `5x5'."