summaryrefslogtreecommitdiff
path: root/chess-engine.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-09 01:28:37 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-09 01:28:37 +0000
commit18f22844af74b15732d7fc7dfad318a1ba0c0d99 (patch)
tree0fcdaab856c1e82080f0c87f5895a212081f9633 /chess-engine.el
parent2f9a87ac4d488c53409e473246b7e42ea11b6f18 (diff)
*** no comment ***
Diffstat (limited to 'chess-engine.el')
-rw-r--r--chess-engine.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/chess-engine.el b/chess-engine.el
index ad163c0..807f99d 100644
--- a/chess-engine.el
+++ b/chess-engine.el
@@ -222,8 +222,10 @@
;; this could be accelerated by joining
;; together the regexps
(if (looking-at (caar triggers))
- (funcall (cdar triggers)))
- (setq triggers (cdr triggers))))
+ (progn
+ (funcall (cdar triggers))
+ (setq triggers nil))
+ (setq triggers (cdr triggers)))))
(chess-illegal (error-message-string err)))
(forward-line)))
(setq chess-engine-last-pos (point)