diff options
| author | John Wiegley <johnw@newartisans.com> | 2002-04-16 19:48:33 +0000 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2002-04-16 19:48:33 +0000 |
| commit | c9dc56852854f8e4618ec6830484ef45faafc1a5 (patch) | |
| tree | c96229fd0f33ee2d17079dde24a6e150e7d97519 /chess-display.el | |
| parent | 1265ac399d4d1095f519cccd611c7871e2851589 (diff) | |
Removed the $ Revision strings; they are no longer necessary since I
tag every revision that I upload.
Diffstat (limited to 'chess-display.el')
| -rw-r--r-- | chess-display.el | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/chess-display.el b/chess-display.el index eea0370..67596f8 100644 --- a/chess-display.el +++ b/chess-display.el @@ -209,13 +209,6 @@ 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. @@ -420,6 +413,12 @@ 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." |
