diff options
| author | John Wiegley <johnw@newartisans.com> | 2002-09-05 07:50:30 +0000 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2002-09-05 07:50:30 +0000 |
| commit | bc64537778d52df4e6cc9585c2d91ac4133bf88f (patch) | |
| tree | c944713e0794ff2050adee2bdc45acdb8cfb448d /chess-display.el | |
| parent | 1f61034e8706c489781cf5b86774c6ff25729605 (diff) | |
Avoided binding issue.
Diffstat (limited to 'chess-display.el')
| -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)))))) |
