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

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

[elpa] 243/255: undo through gtp pipe


From: Eric Schulte
Subject: [elpa] 243/255: undo through gtp pipe
Date: Sun, 16 Mar 2014 01:02:56 +0000

eschulte pushed a commit to branch go
in repository elpa.

commit 0c91cc03775b030ed112a02fdd1acefe72d29624
Author: Eric Schulte <address@hidden>
Date:   Fri Aug 9 16:04:36 2013 -0600

    undo through gtp pipe
---
 back-ends/gtp-pipe.el |    1 +
 go-board.el           |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/back-ends/gtp-pipe.el b/back-ends/gtp-pipe.el
index 2dc25c8..f2ab93d 100644
--- a/back-ends/gtp-pipe.el
+++ b/back-ends/gtp-pipe.el
@@ -49,6 +49,7 @@ port."
                          ("black" :B)
                          ("white" :W))
                        (match-string 2 string))))
+    ("^undo" (go-undo *gtp-pipe-board*))
     (t (message "gtp-pipe unknown command: %S" string))))
 
 
diff --git a/go-board.el b/go-board.el
index 8ef435a..ed47196 100644
--- a/go-board.el
+++ b/go-board.el
@@ -550,7 +550,7 @@
 
 ;; non setf'able generic functions
 (defmethod go-undo ((board board))
-  (with-board board (board-undo)))
+  (with-board board (go-board-undo)))
 
 (defmethod go-pass ((board board))
   (with-board board



reply via email to

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