[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 02/04: [gnugo int] Decruft: Don't set provisional :last-user-bpos
From: |
Thien-Thi Nguyen |
Subject: |
[elpa] 02/04: [gnugo int] Decruft: Don't set provisional :last-user-bpos. |
Date: |
Sat, 19 Apr 2014 18:33:34 +0000 |
ttn pushed a commit to branch master
in repository elpa.
commit 77bbe1ca4a292fb255b0ef2a606b922e4d007b96
Author: Thien-Thi Nguyen <address@hidden>
Date: Sat Apr 19 19:29:58 2014 +0200
[gnugo int] Decruft: Don't set provisional :last-user-bpos.
* packages/gnugo/gnugo.el (gnugo):
...here, as it does not make sense.
---
packages/gnugo/gnugo.el | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/packages/gnugo/gnugo.el b/packages/gnugo/gnugo.el
index 60a1270..006fad5 100644
--- a/packages/gnugo/gnugo.el
+++ b/packages/gnugo/gnugo.el
@@ -2513,9 +2513,8 @@ starting a new one. See `gnugo-board-mode' documentation
for more info."
(let ((half (truncate (1+ (gnugo-get :SZ)) 2)))
(gnugo-goto-pos (format "A%d" half))
(forward-char (* 2 (1- half)))
- (gnugo-put :last-user-bpos
- (gnugo-put :center-position
- (get-text-property (point) 'gnugo-position))))
+ (gnugo-put :center-position
+ (get-text-property (point) 'gnugo-position)))
;; first move
(gnugo-put :game-start-time (current-time))
(let ((g (gnugo-get :gnugo-color))