summaryrefslogtreecommitdiff
path: root/chess-display.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-display.el')
-rw-r--r--chess-display.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/chess-display.el b/chess-display.el
index 5e63f1e..625c2e8 100644
--- a/chess-display.el
+++ b/chess-display.el
@@ -256,7 +256,9 @@ also view the same game."
(aset chess-display-index-positions pos-index pos))
(setq pos (next-single-property-change pos 'chess-coord)))
(unless (aref chess-display-index-positions 0)
- (aset chess-display-index-positions 0 (point-min)))))
+ (aset chess-display-index-positions 0 (point-min)))
+ (unless (aref chess-display-index-positions 63)
+ (aset chess-display-index-positions 63 (1- (point-max))))))
(aref chess-display-index-positions index)))
(defun chess-display-paint-move (display ply)
@@ -387,7 +389,7 @@ that is supported by most displays, and is the default mode."
:group 'chess-display)
(defcustom chess-display-momentous-events
- '(orient post-undo setup-game pass move resign)
+ '(orient post-undo setup-game pass move resign drawn)
"Events that will refresh, and cause 'main' displays to popup.
These are displays for which `chess-display-set-main' has been
called."