summaryrefslogtreecommitdiff
path: root/chess-sound.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-14 22:11:09 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-14 22:11:09 +0000
commit4aa1c73a2e77af7bcf1bd24837c9f07488068cdd (patch)
tree876d2531c88dbd12036f4f761e74e8cfe735a249 /chess-sound.el
parentf7aafe3ea1629c434454ddb101af5b665314e208 (diff)
*** no comment ***
Diffstat (limited to 'chess-sound.el')
-rw-r--r--chess-sound.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/chess-sound.el b/chess-sound.el
index e5b0de3..8761f1d 100644
--- a/chess-sound.el
+++ b/chess-sound.el
@@ -62,7 +62,8 @@ See `chess-display-type' for the different kinds of displays."
(file-readable-p (expand-file-name "move.wav"
chess-sound-directory))
(or (eq chess-sound-play-function 'play-sound-file)
- (file-executable-p chess-sound-program))))
+ (file-executable-p chess-sound-program))
+ (current-buffer)))
((eq event 'move)
(let* ((ply (chess-game-ply chess-display-game