diff options
| -rw-r--r-- | chess-display.el | 5 |
1 files changed, 3 insertions, 2 deletions
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)))))) |
