eschulte pushed a commit to branch go
in repository elpa.

commit 0c91cc03775b030ed112a02fdd1acefe72d29624
Author: Eric Schulte <[email protected]>
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