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

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

[elpa] externals/gnugo 5c87b11 141/357: [gnugo frolic int] Use ‘move-to


From: Stefan Monnier
Subject: [elpa] externals/gnugo 5c87b11 141/357: [gnugo frolic int] Use ‘move-to-column’ more.
Date: Sun, 29 Nov 2020 14:51:08 -0500 (EST)

branch: externals/gnugo
commit 5c87b1132e70e035a9a8b78863974d7bcc3fa04d
Author: Thien-Thi Nguyen <ttn@gnu.org>
Commit: Thien-Thi Nguyen <ttn@gnu.org>

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

diff --git a/gnugo.el b/gnugo.el
index f74c489..78c39d0 100644
--- a/gnugo.el
+++ b/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]