# HG changeset patch # User Richard M. Stallman # Date 1099295176 0 # Node ID 26b411f0feaf01b0512884033b29926891a5ad67 # Parent 627816ec9a057beefa7ce3a4d2fffcc2a68c2d29 (5x5-new-game): Set up the buffer even if not interactive. diff -r 627816ec9a05 -r 26b411f0feaf lisp/play/5x5.el --- 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'."