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

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

[elpa] externals/gnugo 7293802 088/357: [gnugo int] Use ‘setq’ less.


From: Stefan Monnier
Subject: [elpa] externals/gnugo 7293802 088/357: [gnugo int] Use ‘setq’ less.
Date: Sun, 29 Nov 2020 14:50:55 -0500 (EST)

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

    [gnugo int] Use ‘setq’ less.
    
    * packages/gnugo/gnugo.el (gnugo-move-history): ...here.
---
 gnugo.el | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/gnugo.el b/gnugo.el
index 889f799..e2d9fa0 100644
--- a/gnugo.el
+++ b/gnugo.el
@@ -640,12 +640,11 @@ moves thus far; if `two' the last two moves as a list, 
oldest last.
 
 For all other values of RSEL, do nothing and return nil."
   (interactive "P")
-  (let ((size (gnugo-get :SZ))
-        col
-        monkey mem
-        acc node mprop move)
-    (setq monkey (gnugo-get :monkey)
-          mem (aref monkey 1))
+  (let* ((monkey (gnugo-get :monkey))
+         (mem (aref monkey 1))
+         (size (gnugo-get :SZ))
+         col
+         acc node mprop move)
     (cl-labels
         ((as-pos (cc) (if (string= "tt" cc)
                           "PASS"



reply via email to

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