mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[investment-lots] tidier cons instead of append
(append (list new-item) (map...)) is more succinctly formed as (cons new-item (map...))
This commit is contained in:
parent
d928ed4ada
commit
c21aecccc5
@ -1396,10 +1396,8 @@
|
||||
unassigned-split-count)))
|
||||
|
||||
((list)
|
||||
(append
|
||||
(list
|
||||
(format #f (G_ "Warning: The following ~a split(s) are not assigned to a lot. Do lots need to be scrubbed?")
|
||||
unassigned-split-count))
|
||||
(cons
|
||||
(format #f (G_ "Warning: The following ~a split(s) are not assigned to a lot. Do lots need to be scrubbed?") unassigned-split-count)
|
||||
|
||||
;; Also list out the unassigned splits.
|
||||
(map (lambda (split)
|
||||
|
Loading…
Reference in New Issue
Block a user