]> code.delx.au - gnu-emacs-elpa/blobdiff - chess-sound.el
Try to improve the promotion situation on ICS by allowing chess-ply to query for...
[gnu-emacs-elpa] / chess-sound.el
index cb6c95c427d87739394cdc3b098ee271a69bbb78..ed1ce532d5e51984c5fb988b74305ea5022a3e69 100644 (file)
   :group 'chess-sound)
 
 (defsubst chess-sound (file)
-  (funcall chess-sound-play-function
-          (expand-file-name (concat file ".wav")
-                            chess-sound-directory)))
+  (ignore-errors
+    (funcall chess-sound-play-function
+            (expand-file-name (concat file ".wav")
+                              chess-sound-directory))))
 
 (defsubst chess-sound-play (file)
   (apply 'call-process chess-sound-program