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

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

[elpa] externals/gnugo 5ca7efb 099/357: [gnugo int] Remove redundant gam


From: Stefan Monnier
Subject: [elpa] externals/gnugo 5ca7efb 099/357: [gnugo int] Remove redundant game-over condition check.
Date: Sun, 29 Nov 2020 14:50:58 -0500 (EST)

branch: externals/gnugo
commit 5ca7efb6240429f2d349a59c8c443e61baaad2fd
Author: Thien-Thi Nguyen <ttn@gnu.org>
Commit: Thien-Thi Nguyen <ttn@gnu.org>

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

diff --git a/gnugo.el b/gnugo.el
index faefa8a..6d7a603 100644
--- a/gnugo.el
+++ b/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]