[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 230/255: optionally ignore IGS shouts
From: |
Eric Schulte |
Subject: |
[elpa] 230/255: optionally ignore IGS shouts |
Date: |
Sun, 16 Mar 2014 01:02:54 +0000 |
eschulte pushed a commit to branch go
in repository elpa.
commit 3861405e5226c2821c0b3971c30a457deabf4842
Author: Eric Schulte <address@hidden>
Date: Thu Aug 8 12:00:49 2013 -0600
optionally ignore IGS shouts
---
back-ends/igs.el | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/back-ends/igs.el b/back-ends/igs.el
index b149d11..02387e2 100644
--- a/back-ends/igs.el
+++ b/back-ends/igs.el
@@ -33,6 +33,9 @@
(require 'go-api)
(require 'list-buffer)
+(defvar igs-ignore-shouts t
+ "Ignore shouts on the IGS server.")
+
(defvar igs-telnet-command "telnet"
"Telnet command used by igs.")
@@ -146,7 +149,7 @@ This is used to re-send messages to keep the IGS server
from timing out.")
(:kibitz (message "igs-kibitz: %s" content))
(:tell (igs-handle-tell content))
(:beep nil)
- (:shout (igs-handle-shout content))
+ (:shout (unless igs-ignore-shouts (igs-handle-shout content)))
(t (message "igs-unknown: [%s]%s" type content)))
(when (and *igs-time-last-sent*
(> (time-to-seconds (time-since *igs-time-last-sent*))
- [elpa] 239/255: backend for GTP through arbitrary process, (continued)
- [elpa] 239/255: backend for GTP through arbitrary process, Eric Schulte, 2014/03/15
- [elpa] 232/255: gtp-num-to-char is being called but is undefined, Eric Schulte, 2014/03/15
- [elpa] 234/255: don't truncate lines in go boards, Eric Schulte, 2014/03/15
- [elpa] 221/255: organize notes, Eric Schulte, 2014/03/15
- [elpa] 180/255: scattered changes from a while ago, Eric Schulte, 2014/03/15
- [elpa] 252/255: fix copyright headers, Eric Schulte, 2014/03/15
- [elpa] 251/255: Add 'packages/el-go/' from commit 'd127d39d34392eb54627fee0cfb85a35fc231fb2', Eric Schulte, 2014/03/15
- [elpa] 255/255: adding file-ending comments to all source files, Eric Schulte, 2014/03/15
- [elpa] 249/255: adding `go-dead' to the API, Eric Schulte, 2014/03/15
- [elpa] 218/255: call functions when pressing enter on the list, Eric Schulte, 2014/03/15
- [elpa] 230/255: optionally ignore IGS shouts,
Eric Schulte <=