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

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

[elpa] 01/02: [gnugo int] Rename arg from SWITCH to ME-NEXT.


From: Thien-Thi Nguyen
Subject: [elpa] 01/02: [gnugo int] Rename arg from SWITCH to ME-NEXT.
Date: Thu, 13 Mar 2014 16:07:30 +0000

ttn pushed a commit to branch master
in repository elpa.

commit 6e2be1158cb961966d537c84fc4e09555c4d68ca
Author: Thien-Thi Nguyen <address@hidden>
Date:   Tue Mar 11 05:51:44 2014 +0100

    [gnugo int] Rename arg from SWITCH to ME-NEXT.
    
    * packages/gnugo/gnugo.el (gnugo-undo-one-move): ...here.
---
 packages/gnugo/gnugo.el |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/packages/gnugo/gnugo.el b/packages/gnugo/gnugo.el
index 3cfdabf..ded615e 100644
--- a/packages/gnugo/gnugo.el
+++ b/packages/gnugo/gnugo.el
@@ -1415,10 +1415,10 @@ turn to play.  Optional second arg NOALT non-nil 
inhibits this."
       (when (and ulastp (not noalt))
         (gnugo-get-move (gnugo-get :gnugo-color))))))
 
-(defun gnugo-undo-one-move (&optional switch)
+(defun gnugo-undo-one-move (&optional me-next)
   "Undo exactly one move (perhaps GNU Go's, perhaps yours).
 Do not schedule a move by GNU Go even if it is GNU Go's turn to play.
-Prefix arg SWITCH means to arrange for you to play
+Prefix arg ME-NEXT means to arrange for you to play
 the color of the next move (and GNU Go the opposite).
 This is useful after loading an SGF file whose last
 move was done by the color you prefer to play:
@@ -1429,7 +1429,7 @@ See also `gnugo-undo-two-moves'."
   (interactive "P")
   (gnugo-gate)
   (gnugo-magic-undo 1 t)
-  (when switch
+  (when me-next
     (let* ((wait (gnugo-get :last-mover))
            (play (gnugo-other wait)))
       (gnugo--who-is-who wait play (string= play (gnugo-get :user-color)))



reply via email to

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