[elpa] branch externals/chess updated (a1ec01c -> 298db38)

2014-10-02 Thread Mario Lang
mlang pushed a change to branch externals/chess
in repository elpa.

  from  a1ec01c   Fix FEN insertion.
   new  298db38   [chess-ai] Handle pass.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ChangeLog   |4 
 chess-ai.el |2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)



[elpa] 01/01: [chess-ai] Handle pass.

2014-10-02 Thread Mario Lang
mlang pushed a commit to branch externals/chess
in repository elpa.

commit 298db38184bbf31c1f69eae7b58e43f36ac4e36f
Author: Mario Lang 
Date:   Thu Oct 2 19:41:03 2014 +0200

[chess-ai] Handle pass.
---
 ChangeLog   |4 
 chess-ai.el |2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7a1d31c..e512756 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-10-02  Mario Lang  
+
+   * chess-ai.el (chess-ai-handler): Handle pass.
+
 2014-09-23  Mario Lang  
 
* chess-display.el (chess-display-yank-board): Fix FEN insertion.
diff --git a/chess-ai.el b/chess-ai.el
index 1a19f34..75e5047 100644
--- a/chess-ai.el
+++ b/chess-ai.el
@@ -324,7 +324,7 @@ DEPTH defaults to the value of `chess-ai-depth'."
   (when (chess-game-over-p game)
(chess-game-set-data game 'active nil)))
 
- ((eq event 'post-move)
+ ((memq event '(post-move pass))
   (unless (chess-game-over-p game)
(let ((chess-display-handling-event nil)
  (position (chess-engine-position nil)))