gnucash maint: [trep-engine] export gnc:lists->csv properly

Christopher Lam clam at code.gnucash.org
Sun Aug 16 10:58:54 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/f769999f (commit)
	from  https://github.com/Gnucash/gnucash/commit/79a27354 (commit)



commit f769999ffd570625d13ee5fba95b066deb17c731
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Aug 16 22:42:35 2020 +0800

    [trep-engine] export gnc:lists->csv properly
    
    error 94c61e15f

diff --git a/gnucash/report/report.scm b/gnucash/report/report.scm
index b01515e4c..6687ce95e 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 965b8c71c..c234dc99f 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



Summary of changes:
 gnucash/report/report.scm      | 1 +
 gnucash/report/trep-engine.scm | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)



More information about the gnucash-changes mailing list