summaryrefslogtreecommitdiff
path: root/chess-images.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-images.el')
-rw-r--r--chess-images.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/chess-images.el b/chess-images.el
index d2e2256..96aa8eb 100644
--- a/chess-images.el
+++ b/chess-images.el
@@ -160,14 +160,17 @@ called."
(when (display-graphic-p)
(chess-images-initialize)
(if chess-images-size
- t
+ (current-buffer)
(chess-message 'no-images-fallback)
nil)))
+
((eq event 'popup)
(if chess-display-popup
(funcall chess-images-popup-function)))
+
((eq event 'draw)
(apply 'chess-images-draw args))
+
((eq event 'highlight)
(apply 'chess-images-highlight args))))