branch: elpa/csv2ledger commit a3e7b21ae145f2753cd0ccf2596d10ec0441c074 Author: Joost Kremers <joostkrem...@fastmail.com> Commit: Joost Kremers <joostkrem...@fastmail.com>
Add useful comment. --- csv2ledger.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/csv2ledger.el b/csv2ledger.el index 88d720e66a..3f0296a5f5 100644 --- a/csv2ledger.el +++ b/csv2ledger.el @@ -146,6 +146,8 @@ This is the composite function created with the functions in FNS is a list of functions, which is reversed and then composed into a single function taking a transaction alist as argument and returning a modified transaction alist." + ;; Note: We need to reverse FNS, because `-compose' composes them from right + ;; to left (i.e., the last function in FNS is applied first). (setq c2l-transaction-modifier (apply #'-compose (reverse fns)))) (defcustom c2l-transaction-modify-functions '(c2l-create-title c2l-create-amount c2l-create-account)