From 1265ac399d4d1095f519cccd611c7871e2851589 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 16 Apr 2002 19:46:36 +0000 Subject: *** no comment *** --- chess-display.el | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'chess-display.el') diff --git a/chess-display.el b/chess-display.el index d19a434..eea0370 100644 --- a/chess-display.el +++ b/chess-display.el @@ -2,7 +2,6 @@ ;; ;; Code shared by all chess displays ;; -;; $Revision$ (require 'chess-module) (require 'chess-var) @@ -210,6 +209,13 @@ also view the same game." (chess-module-leader-p nil)) (chess-display-popup nil)))) +(defun chess-display-redraw (&optional display) + "Just redraw the current display." + (interactive) + (chess-with-current-buffer display + (erase-buffer) + (chess-display-update nil))) + (defun chess-display-move (display ply) "Move a piece on DISPLAY, by applying the given PLY. The position of PLY must match the currently displayed position. @@ -414,12 +420,6 @@ The key bindings available in this mode are: ;; Commands used by the keyboard bindings above ;; -(defun chess-display-redraw () - "Just redraw the current display." - (interactive) - (erase-buffer) - (chess-display-update nil)) - (defsubst chess-display-active-p () "Return non-nil if the displayed chessboard reflects an active game. Basically, it means we are playing, not editing or reviewing." -- cgit v1.2.3