diff options
| author | Richard M. Stallman | 2004-11-01 07:46:16 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2004-11-01 07:46:16 +0000 |
| commit | ca5f43fa079964246af32562774a6dbd462622a8 (patch) | |
| tree | e9567528a29843a80a7e605d4a9a011b4e92fc32 | |
| parent | 1d4408c8ebf209bd83bae5745bc273d5d484c745 (diff) | |
| download | emacs-ca5f43fa079964246af32562774a6dbd462622a8.tar.gz emacs-ca5f43fa079964246af32562774a6dbd462622a8.zip | |
(5x5-new-game): Set up the buffer even if not interactive.
| -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 886e53a6afa..83d67958f44 100644 --- a/lisp/play/5x5.el +++ b/lisp/play/5x5.el | |||
| @@ -224,9 +224,8 @@ Quit current game \\[5x5-quit-game]" | |||
| 224 | 5x5-y-pos (/ 5x5-grid-size 2) | 224 | 5x5-y-pos (/ 5x5-grid-size 2) |
| 225 | 5x5-moves 0 | 225 | 5x5-moves 0 |
| 226 | 5x5-grid (5x5-make-move (5x5-make-new-grid) 5x5-y-pos 5x5-x-pos)) | 226 | 5x5-grid (5x5-make-move (5x5-make-new-grid) 5x5-y-pos 5x5-x-pos)) |
| 227 | (when (interactive-p) | 227 | (5x5-draw-grid (list 5x5-grid)) |
| 228 | (5x5-draw-grid (list 5x5-grid)) | 228 | (5x5-position-cursor))) |
| 229 | (5x5-position-cursor)))) | ||
| 230 | 229 | ||
| 231 | (defun 5x5-quit-game () | 230 | (defun 5x5-quit-game () |
| 232 | "Quit the current game of `5x5'." | 231 | "Quit the current game of `5x5'." |