summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Lang <mlang@delysid.org>2004-02-03 19:03:17 +0000
committerMario Lang <mlang@delysid.org>2004-02-03 19:03:17 +0000
commit49009415e3df8ca24405c0410f8a4eeee4f193d7 (patch)
treef036de24f8c0ff54d81e30d2bc376657935ec5bb
parenta5baccfe67c32f781b55409a9da9d6fdcb5ddfb0 (diff)
(chess-announce-handler): On event 'kibitz, talk.
-rw-r--r--chess-announce.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/chess-announce.el b/chess-announce.el
index a607543..8619e74 100644
--- a/chess-announce.el
+++ b/chess-announce.el
@@ -105,7 +105,9 @@ shutdown the announcer process, if necessary.")
(if (chess-ply-keyword ply :stalemate)
(setq text (concat text ", " (chess-string 'stalemate))))
- (funcall (nth 1 chess-announce-functions) text)))))))
+ (funcall (nth 1 chess-announce-functions) text)))))
+ ((eq event 'kibitz)
+ (funcall (nth 1 chess-announce-functions) (car args)))))
(defun chess-announce-festival (text)
"Announce the given text using festival.