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

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

[elpa] 01/01: [gnugo int] Use ‘gnugo -treeroot’ more.


From: Thien-Thi Nguyen
Subject: [elpa] 01/01: [gnugo int] Use ‘gnugo -treeroot’ more.
Date: Tue, 18 Mar 2014 11:12:07 +0000

ttn pushed a commit to branch master
in repository elpa.

commit 3dac9184ea681471480eb211308d079e98cdd3f1
Author: Thien-Thi Nguyen <address@hidden>
Date:   Tue Mar 18 12:16:12 2014 +0100

    [gnugo int] Use ‘gnugo-treeroot’ more.
    
    * packages/gnugo/gnugo.el (gnugo-read-sgf-file): ...here.
---
 packages/gnugo/gnugo.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/packages/gnugo/gnugo.el b/packages/gnugo/gnugo.el
index dda41b2..3292666 100644
--- a/packages/gnugo/gnugo.el
+++ b/packages/gnugo/gnugo.el
@@ -1342,7 +1342,7 @@ If FILENAME already exists, Emacs confirms that you wish 
to overwrite it."
         (setq loc (cdr loc)))
       (gnugo-put :game-over
         (setq game-over
-              (or (cdr (assq :RE (car tree)))
+              (or (gnugo-treeroot :RE)
                   (and (cdr mem)
                        (equal '("PASS" "PASS") (gnugo-move-history 'two))
                        'two-passes))))



reply via email to

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