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

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

[elpa] 191/255: don't throw error when backend passes


From: Eric Schulte
Subject: [elpa] 191/255: don't throw error when backend passes
Date: Sun, 16 Mar 2014 01:02:46 +0000

eschulte pushed a commit to branch go
in repository elpa.

commit 178e1d8a7fb449631bd472181f6ee663f2a2bb77
Author: Eric Schulte <address@hidden>
Date:   Sun May 19 16:06:15 2013 -0600

    don't throw error when backend passes
---
 go-board.el |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/go-board.el b/go-board.el
index f3a83db..13f16ff 100644
--- a/go-board.el
+++ b/go-board.el
@@ -414,7 +414,9 @@
         (apply-turn-to-board
          (cons move (ignoring-unsupported (go-labels *back-end*)))))
       (with-trackers tr (setf (go-move tr) move))
-      (goto-char (point-of-pos (cddr move))))))
+      (if (equal move :pass)
+          (goto-char (point-min))
+        (goto-char (point-of-pos (cddr move)))))))
 
 (defun go-board-mouse-move (ev)
   (interactive "e")



reply via email to

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