[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gnugo 4b24b56 142/357: [gnugo frolic int] Don't go thr
From: |
Stefan Monnier |
Subject: |
[elpa] externals/gnugo 4b24b56 142/357: [gnugo frolic int] Don't go through ‘gnugo-frolic-quit’ for refresh. |
Date: |
Sun, 29 Nov 2020 14:51:08 -0500 (EST) |
branch: externals/gnugo
commit 4b24b56e03b638c50dbb56a993316e78e6a492c0
Author: Thien-Thi Nguyen <ttn@gnu.org>
Commit: Thien-Thi Nguyen <ttn@gnu.org>
[gnugo frolic int] Don't go through ‘gnugo-frolic-quit’ for refresh.
* packages/gnugo/gnugo.el (gnugo-frolic-in-the-leaves):
If ‘gnugo-frolic-parent-buffer’ is already set, don't clobber it.
(gnugo--swiz): Don't call ‘gnugo-frolic-quit’.
(gnugo-frolic-prune-branch): Likewise.
---
gnugo.el | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/gnugo.el b/gnugo.el
index 78c39d0..6cc635e 100644
--- a/gnugo.el
+++ b/gnugo.el
@@ -773,7 +773,8 @@ are dimmed. Type \\[describe-mode] in that buffer for
details."
(interactive)
(let* ((buf (get-buffer-create (concat (gnugo-get :diamond)
"*GNUGO Frolic*")))
- (from (current-buffer))
+ (from (or gnugo-frolic-parent-buffer
+ (current-buffer)))
;; todo: use defface once we finally succumb to ‘customize’
(dimmed-node-face (list :inherit 'default
:foreground "gray50"))
@@ -971,8 +972,6 @@ are dimmed. Type \\[describe-mode] in that buffer for
details."
(mod (+ direction n) width))))
(was (copy-sequence ends))
(new-bidx (funcall flit bidx)))
- (gnugo-frolic-quit)
- (assert (eq 'gnugo-board-mode major-mode))
(loop for bx below width
do (aset ends (funcall flit bx)
(aref was bx)))
@@ -1033,7 +1032,6 @@ This fails if the monkey is on the current branch
(gnugo--set-tree-ends tree (apply 'vector new)))
(when (< a bidx)
(aset monkey 1 (decf bidx)))
- (gnugo-frolic-quit)
(gnugo-frolic-in-the-leaves)
(when line
(goto-char (point-min))
- [elpa] externals/gnugo 74b839a 066/357: [gnugo int] Use ‘incf’ more., (continued)
- [elpa] externals/gnugo 74b839a 066/357: [gnugo int] Use ‘incf’ more., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo ad774f4 074/357: [gnugo sgf] Move gratuitous newline from after to before (sub)trees., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo a44da1b 073/357: [gnugo sgf int] Add abstractions: >>prop, >>node, >>tree, Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo a7f01be 083/357: [gnugo int] Add abstraction: nn, Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo a07cf7c 109/357: [gnugo int] Use ‘gnugo--as-pos-func’ more., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 71f163d 111/357: [gnugo int] Support growth also off of main line., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 0b08017 114/357: [gnugo int] Avoid double list-reverse., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 08c3378 116/357: [gnugo int] Use ‘gnugo/sgf-create’ more., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 44c2dc4 118/357: [gnugo int] Make ‘gnugo--no-regrets’ take ENDS directly., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 7705eca 126/357: [gnugo int] Drop :monkey COUNT; use node's tree MNUM directly., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 4b24b56 142/357: [gnugo frolic int] Don't go through ‘gnugo-frolic-quit’ for refresh.,
Stefan Monnier <=
- [elpa] externals/gnugo dfc130d 136/357: [gnugo frolic] Add backward/forward branch navigation commands., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo e75eb8a 135/357: [gnugo frolic] Add some branch swizzling commands., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo f279f99 146/357: [gnugo frolic int] Regularize keymap decl + init., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo f810771 162/357: [gnugo int] Decruft: Delete unused local vars., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo b0d3543 171/357: fixup! [gnugo frolic] Add previous/next move navigation commands., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo bcc7fef 166/357: [gnugo maint] Update HACKING; nfc., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 9589d64 167/357: [gnugo int] Add abstraction: gnugo--as-cc-func, Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo d71bab7 174/357: [gnugo int] Add abstractions: gnugo--{user-}play-stone, Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo e3a50ca 014/357: [gnugo int] Use ‘display’ property more., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo c02cc72 030/357: [gnugo maint] Update NEWS file; nfc., Stefan Monnier, 2020/11/29