diff options
author | Richard M. Stallman <[email protected]> | 2004-11-01 07:46:16 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 2004-11-01 07:46:16 +0000 |
commit | ca5f43fa079964246af32562774a6dbd462622a8 (patch) | |
tree | e9567528a29843a80a7e605d4a9a011b4e92fc32 /lisp/play | |
parent | 1d4408c8ebf209bd83bae5745bc273d5d484c745 (diff) |
(5x5-new-game): Set up the buffer even if not interactive.
Diffstat (limited to 'lisp/play')
-rw-r--r-- | lisp/play/5x5.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/play/5x5.el b/lisp/play/5x5.el index 886e53a6af..83d67958f4 100644 --- a/lisp/play/5x5.el +++ b/lisp/play/5x5.el @@ -224,9 +224,8 @@ Quit current game \\[5x5-quit-game]" 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'." |