[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 07/07: [gnugo int] Fix bug: Unbreak SGF file output.
From: |
Thien-Thi Nguyen |
Subject: |
[elpa] 07/07: [gnugo int] Fix bug: Unbreak SGF file output. |
Date: |
Wed, 09 Apr 2014 06:34:55 +0000 |
ttn pushed a commit to branch master
in repository elpa.
commit cc5eff1c061ac4a6a3c8baf129c5817337e9ee7e
Author: Thien-Thi Nguyen <address@hidden>
Date: Wed Apr 9 07:42:18 2014 +0200
[gnugo int] Fix bug: Unbreak SGF file output.
Omission from / regression introduced 2014-04-05,
"Expand gametree IR: MNUM, KIDS, ROOT", sigh.
* packages/gnugo/gnugo.el (gnugo/sgf-hang-from-root):
Use ‘gnugo--tree-ends’.
---
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 6cc635e..951881a 100644
--- a/packages/gnugo/gnugo.el
+++ b/packages/gnugo/gnugo.el
@@ -2692,7 +2692,7 @@ A collection is a list of gametrees, each a vector of
four elements:
(defun gnugo/sgf-hang-from-root (tree)
(let ((ht (gnugo--mkht))
- (leaves (append tree nil)))
+ (leaves (append (gnugo--tree-ends tree) nil)))
(cl-flet
((hang (stack)
(loop
- [elpa] branch master updated (bbdff36 -> cc5eff1), Thien-Thi Nguyen, 2014/04/09
- [elpa] 02/07: [gnugo frolic] Add command to prune a branch., Thien-Thi Nguyen, 2014/04/09
- [elpa] 03/07: [gnugo frolic] Handle invalid branch more consistently., Thien-Thi Nguyen, 2014/04/09
- [elpa] 04/07: [gnugo frolic int] Assign ‘pop’ rv to avoid byte-compiler warning., Thien-Thi Nguyen, 2014/04/09
- [elpa] 05/07: [gnugo frolic int] Use ‘move-to-column’ more., Thien-Thi Nguyen, 2014/04/09
- [elpa] 06/07: [gnugo frolic int] Don't go through ‘gnugo-frolic-quit’ for refresh., Thien-Thi Nguyen, 2014/04/09
- [elpa] 07/07: [gnugo int] Fix bug: Unbreak SGF file output.,
Thien-Thi Nguyen <=
- [elpa] 01/07: [gnugo frolic] Add command to set the main line., Thien-Thi Nguyen, 2014/04/09