ttn pushed a commit to branch master
in repository elpa.

commit ad7913f03c1edf1030823a95b8dff1a9371f0fdf
Author: Thien-Thi Nguyen <[email protected]>
Date:   Sun Apr 13 10:36:39 2014 +0200

    [gnugo int] Make ‘gnugo-gate’ slightly faster.
    
    * packages/gnugo/gnugo.el (gnugo-gate):
    Check IN-PROGRESS-P before :game-over.
---
 packages/gnugo/gnugo.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/packages/gnugo/gnugo.el b/packages/gnugo/gnugo.el
index 4f00a34..3cc26d6 100644
--- a/packages/gnugo/gnugo.el
+++ b/packages/gnugo/gnugo.el
@@ -337,7 +337,7 @@ Handle the big, slow-to-render, and/or uninteresting ones 
specially."
   (when (gnugo-get :waitingp)
     (user-error "Not your turn yet -- please wait for \"\(%s to play\)\""
                 (gnugo-get :user-color)))
-  (when (and (gnugo-get :game-over) in-progress-p)
+  (when (and in-progress-p (gnugo-get :game-over))
     (user-error "Sorry, game over")))
 
 (defun gnugo-sentinel (proc string)

Reply via email to