branch: elpa/csv2ledger commit 1ab230f07d5aa96420bc8e84dbf06f0ea4e0a828 Author: Joost Kremers <joostkrem...@fastmail.com> Commit: Joost Kremers <joostkrem...@fastmail.com>
Update doc string of c2l--csv-line-to-ledger Some of what the doc string said isn't done by this function but by the functions it calls, which are user-configurable. --- csv2ledger.el | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/csv2ledger.el b/csv2ledger.el index a346596398..c4d383e796 100644 --- a/csv2ledger.el +++ b/csv2ledger.el @@ -437,17 +437,11 @@ entry is marked as cleared." (defun c2l--csv-line-to-ledger (transaction) "Convert TRANSACTION to a ledger entry. TRANSACTION is an alist containing the data of the transaction. -The transaction is booked to the account in `c2l-base-account'. -The target account is determined on the basis of the matchers in -`c2l-account-matchers-file'. If none is found, the value of -`c2l-fallback-account' is used. If that option is unset, the -user is asked for an account. - This function first applies the functions in `c2l-field-modify-functions' to the individual fields of TRANSACTION and then passes the transaction through `c2l-transaction-modify-functions' before calling -`c2l-entry-function' to create the actual entry." +`c2l-entry-function' to create the actual entry as a string." (let* ((modified-fields (mapcar (lambda (item) (let ((field (car item)) (value (cdr item)))