summaryrefslogtreecommitdiff
path: root/chess-images.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-images.el')
-rw-r--r--chess-images.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/chess-images.el b/chess-images.el
index 60d02d7..5ffa01d 100644
--- a/chess-images.el
+++ b/chess-images.el
@@ -182,7 +182,13 @@ called."
(apply 'chess-images-draw-square args))
((eq event 'highlight)
- (apply 'chess-images-highlight args))))
+ (apply 'chess-images-highlight args))
+
+ ((eq event 'start-edit)
+ (setq cursor-type t))
+
+ ((eq event 'end-edit)
+ (setq cursor-type nil))))
(defun chess-images-determine-size ()
(let ((display (and (stringp chess-images-separate-frame)