emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 01/01: [gnugo int] Remove redundant game-over condition check.


From: Thien-Thi Nguyen
Subject: [elpa] 01/01: [gnugo int] Remove redundant game-over condition check.
Date: Sun, 23 Mar 2014 12:48:55 +0000

ttn pushed a commit to branch master
in repository elpa.

commit 0601efd56d4a750a4df0536e150113ce0c8a5a2d
Author: Thien-Thi Nguyen <address@hidden>
Date:   Sun Mar 23 13:32:32 2014 +0100

    [gnugo int] Remove redundant game-over condition check.
    
    * packages/gnugo/gnugo.el (gnugo-read-sgf-file): ...here.
---
 packages/gnugo/gnugo.el |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/packages/gnugo/gnugo.el b/packages/gnugo/gnugo.el
index faefa8a..6d7a603 100644
--- a/packages/gnugo/gnugo.el
+++ b/packages/gnugo/gnugo.el
@@ -1356,8 +1356,7 @@ If FILENAME already exists, Emacs confirms that you wish 
to overwrite it."
       (gnugo-put :game-over
         (setq game-over
               (or (gnugo--root-prop :RE tree)
-                  (and (cdr mem)
-                       (equal '("PASS" "PASS") (gnugo-move-history 'two))
+                  (and (equal '("PASS" "PASS") (gnugo-move-history 'two))
                        'two-passes))))
       (gnugo-put :monkey
         (vector (or (car mem) tree)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]