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

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

[elpa] externals/gnugo b5990a0 085/357: [gnugo int] Use ‘gnugo-treeroot


From: Stefan Monnier
Subject: [elpa] externals/gnugo b5990a0 085/357: [gnugo int] Use ‘gnugo-treeroot’ more.
Date: Sun, 29 Nov 2020 14:50:54 -0500 (EST)

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

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

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