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

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

[elpa] 05/07: [gnugo frolic int] Use ‘move-to-column’ more.


From: Thien-Thi Nguyen
Subject: [elpa] 05/07: [gnugo frolic int] Use ‘move-to-column’ more.
Date: Wed, 09 Apr 2014 06:34:54 +0000

ttn pushed a commit to branch master
in repository elpa.

commit a4cd87c7520cd8de34ca98bbea47c178981696d6
Author: Thien-Thi Nguyen <address@hidden>
Date:   Wed Apr 9 07:14:46 2014 +0200

    [gnugo frolic int] Use ‘move-to-column’ more.
    
    * packages/gnugo/gnugo.el (gnugo-frolic-prune-branch): ...here.
---
 packages/gnugo/gnugo.el |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/packages/gnugo/gnugo.el b/packages/gnugo/gnugo.el
index f74c489..78c39d0 100644
--- a/packages/gnugo/gnugo.el
+++ b/packages/gnugo/gnugo.el
@@ -1038,8 +1038,7 @@ This fails if the monkey is on the current branch
    (when line
      (goto-char (point-min))
      (search-forward line)
-     (beginning-of-line)
-     (forward-char (+ 10 (* 6 (min a (- width 2))))))))
+     (move-to-column (+ 10 (* 6 (min a (- width 2))))))))
 
 (defun gnugo-frolic-backward-branch (&optional n)
   "Move backward N (default 1) branches."



reply via email to

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