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

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

[elpa] 04/08: [gnugo] Allow user to request suggestion for GNU Go.


From: Thien-Thi Nguyen
Subject: [elpa] 04/08: [gnugo] Allow user to request suggestion for GNU Go.
Date: Wed, 23 Apr 2014 09:00:23 +0000

ttn pushed a commit to branch master
in repository elpa.

commit 9e775ebb53bdf644375441eaace50f549de0a98b
Author: Thien-Thi Nguyen <address@hidden>
Date:   Tue Apr 22 12:20:58 2014 +0200

    [gnugo] Allow user to request suggestion for GNU Go.
    
    * packages/gnugo/gnugo.el (gnugo-get-move-insertion-filter):
    Include color in suggestion message.
    (gnugo-request-suggestion): Use ‘gnugo-current-player’.
---
 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 6387646..30090a9 100644
--- a/packages/gnugo/gnugo.el
+++ b/packages/gnugo/gnugo.el
@@ -1643,9 +1643,9 @@ its move."
                 (unless (or (gnugo--passp full)
                             (eq 'nowarp suggestion))
                   (gnugo-goto-pos full))
-                (message "%sSuggestion: %s"
+                (message "%sSuggestion for %s: %s"
                          (gnugo-get :diamond)
-                         full))
+                         color full))
             (let* ((donep (gnugo-push-move color full))
                    (buf (current-buffer)))
               (gnugo--finish-move buf)
@@ -1701,7 +1701,7 @@ cursor to the suggested position.  Prefix arg inhibits 
warp."
   (interactive "P")
   (gnugo-gate t)
   (gnugo--rename-buffer-portion)
-  (gnugo-get-move (gnugo-get :user-color)
+  (gnugo-get-move (gnugo-current-player)
                   (if nowarp
                       'nowarp
                     t)))



reply via email to

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