summaryrefslogtreecommitdiff
path: root/chess-ics.el
diff options
context:
space:
mode:
authorMario Lang <mlang@delysid.org>2008-08-29 11:03:23 +0200
committerMario Lang <mlang@delysid.org>2008-08-29 11:03:23 +0200
commitaa10b717c4ece5b8eaa2100eb603576c9fb44157 (patch)
tree590d01439a7cef1d1f78d19b383a951a95a3a812 /chess-ics.el
parente0c05c5da5082c9ea530af16cf487ee97d875aee (diff)
last-triggers was never used, it was suppose to refer to last-session, a LET-bound variable.
Diffstat (limited to 'chess-ics.el')
-rw-r--r--chess-ics.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/chess-ics.el b/chess-ics.el
index efbc908..3921607 100644
--- a/chess-ics.el
+++ b/chess-ics.el
@@ -447,8 +447,6 @@ See `chess-ics-game'.")
(setq tags (cddr tags)))
game))))
-(defvar last-triggers nil)
-
(defun chess-ics-game-destroy (game-number &rest tags)
(let ((sessions chess-ics-sessions)
last-session)
@@ -479,7 +477,7 @@ See `chess-ics-game'.")
(if last-session
(setcdr last-session (cdr sessions))
(setq chess-ics-sessions (cdr sessions))))))))
- (setq last-triggers sessions
+ (setq last-session sessions
sessions (cdr sessions)))))
(defun chess-ics-handle-movelist-item ()