From f769999ffd570625d13ee5fba95b066deb17c731 Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Sun, 16 Aug 2020 22:42:35 +0800 Subject: [PATCH] [trep-engine] export gnc:lists->csv properly error 94c61e15f --- gnucash/report/report.scm | 1 + gnucash/report/trep-engine.scm | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gnucash/report/report.scm b/gnucash/report/report.scm index b01515e4cf..6687ce95e0 100644 --- a/gnucash/report/report.scm +++ b/gnucash/report/report.scm @@ -735,6 +735,7 @@ ;; trep-engine.scm (export gnc:trep-options-generator) (export gnc:trep-renderer) +(export gnc:lists->csv) ;; report-register-hooks.scm diff --git a/gnucash/report/trep-engine.scm b/gnucash/report/trep-engine.scm index 965b8c71c7..c234dc99fc 100644 --- a/gnucash/report/trep-engine.scm +++ b/gnucash/report/trep-engine.scm @@ -465,7 +465,6 @@ Credit Card, and Income accounts.")) (and (keylist-get-info (sortkey-list split-action?) sortkey 'split-sortvalue) (not (keylist-get-info (sortkey-list split-action?) sortkey 'sortkey)))) -(define-public gnc:lists->csv lists->csv) (define (lists->csv lst) ;; converts a list of lists into CSV ;; this function aims to follow RFC4180, and will pad lists to @@ -505,6 +504,8 @@ Credit Card, and Income accounts.")) (string-join (map strify lst) "\n")) +(define gnc:lists->csv lists->csv) + ;; ;; Default Transaction Report