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

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

[elpa] externals/gnugo b3d3da0 220/357: [gnugo int] Use functional style


From: Stefan Monnier
Subject: [elpa] externals/gnugo b3d3da0 220/357: [gnugo int] Use functional style more.
Date: Sun, 29 Nov 2020 14:51:25 -0500 (EST)

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

    [gnugo int] Use functional style more.
    
    * packages/gnugo/gnugo.el (gnugo):
    Pass ‘gnugo--plant-and-climb’ rv to ‘gnugo--root-node’.
---
 gnugo.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnugo.el b/gnugo.el
index c74244c..c44d17e 100644
--- a/gnugo.el
+++ b/gnugo.el
@@ -2477,10 +2477,10 @@ starting a new one.  See `gnugo-board-mode' 
documentation for more info."
                                    (let ((ov (make-overlay 1 1)))
                                      (overlay-put ov 'display ")")
                                      ov)))
-        (gnugo--plant-and-climb
-         (gnugo/sgf-create "(;FF[4]GM[1])" t))
         (gnugo--SZ! board-size)
-        (let ((root (gnugo--root-node)))
+        (let ((root (gnugo--root-node
+                     (gnugo--plant-and-climb
+                      (gnugo/sgf-create "(;FF[4]GM[1])" t)))))
           (cl-flet
               ((r! (&rest plist)
                    (gnugo--decorate



reply via email to

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