mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[html-table] fix never-used function and deprecate
This commit is contained in:
parent
a23d72dec2
commit
cc4944e536
@ -569,11 +569,13 @@
|
||||
(cons
|
||||
(cons (cons current-new current-existing) (car rest-result))
|
||||
(cdr rest-result)))))
|
||||
(issue-deprecation-warning "gnc:html-table-prepend-column! is unused.")
|
||||
(let* ((existing-data (reverse (gnc:html-table-data table)))
|
||||
(existing-length (length existing-data))
|
||||
(newcol-length (length newcol)))
|
||||
(if (<= newcol-length existing-length)
|
||||
(gnc:html-table-set-data!
|
||||
table
|
||||
(reverse (car (prepend-to-element
|
||||
newcol
|
||||
existing-data
|
||||
|
Loading…
Reference in New Issue
Block a user