:group 'chess)
(defcustom chess-display-popup t
- "If non-nil, popup displays whenever a significant event occurs."
+ "If non-nil (the default), popup displays whenever a significant event
+occurs."
:type 'boolean
:group 'chess-display)
(downcase new-piece)) to)
(funcall chess-display-event-handler 'draw-square
(chess-display-index-pos nil to)
- (chess-pos-piece position from) to))))
+ (chess-pos-piece position from) to)))
+ (when (chess-ply-keyword ply :en-passant)
+ (funcall chess-display-event-handler 'draw-square
+ (chess-display-index-pos nil (chess-pos-en-passant position))
+ ? (chess-pos-en-passant position))))
(setq ch (cddr ch)))))))
(chess-message-catalog 'english