From bc64537778d52df4e6cc9585c2d91ac4133bf88f Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 5 Sep 2002 07:50:30 +0000 Subject: Avoided binding issue. --- chess-display.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chess-display.el') diff --git a/chess-display.el b/chess-display.el index 6ff06c4..9ae6fbb 100644 --- a/chess-display.el +++ b/chess-display.el @@ -622,10 +622,11 @@ Basically, it means we are playing, not editing or reviewing." (defun chess-display-kill-board (&optional arg) "Send the current board configuration to the user." (interactive "P") - (let ((x-select-enable-clipboard t)) + (let ((x-select-enable-clipboard t) + (game chess-module-game)) (if arg (kill-new (with-temp-buffer - (chess-game-to-pgn chess-module-game) + (chess-game-to-pgn game) (buffer-string))) (kill-new (chess-pos-to-fen (chess-display-position nil)))))) -- cgit v1.2.3