From: Richard M. Stallman Date: Mon, 1 Nov 2004 07:46:16 +0000 (+0000) Subject: (5x5-new-game): Set up the buffer even if not interactive. X-Git-Tag: ttn-vms-21-2-B4~4291 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ca5f43fa079964246af32562774a6dbd462622a8;p=emacs.git (5x5-new-game): Set up the buffer even if not interactive. --- 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]" 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'."