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

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

[elpa] externals/gnugo b07f602 248/357: [gnugo int] Move ‘gnugo--passp’


From: Stefan Monnier
Subject: [elpa] externals/gnugo b07f602 248/357: [gnugo int] Move ‘gnugo--passp’ earlier in file.
Date: Sun, 29 Nov 2020 14:51:32 -0500 (EST)

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

    [gnugo int] Move ‘gnugo--passp’ earlier in file.
    
    * packages/gnugo/gnugo.el (gnugo--passp):
    ...so that it precedes its first use.
---
 gnugo.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnugo.el b/gnugo.el
index 5f14f7d..ac0d79b 100644
--- a/gnugo.el
+++ b/gnugo.el
@@ -715,6 +715,9 @@ when you are sure the command cannot fail."
                   (+ ?A (- (if (> ?i col) col (1+ col)) ?a))
                   (- size (- (aref cc 1) ?a))))))))
 
+(defsubst gnugo--passp (string)
+  (string= "PASS" string))
+
 (defun gnugo-move-history (&optional rsel color)
   "Determine and return the game's move history.
 Optional arg RSEL controls side effects and return value.
@@ -1204,9 +1207,6 @@ This fails if the monkey is on the current branch
   (while (gnugo-board-buffer-p)
     (bury-buffer)))
 
-(defsubst gnugo--passp (string)
-  (string= "PASS" string))
-
 (defsubst gnugo--no-regrets (monkey ends)
   (eq (aref ends (aref monkey 1))
       (aref monkey 0)))



reply via email to

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