branch: elpa/csv2ledger commit 57989d70f63797b5f7047e0a7d293559eb4015b7 Author: Joost Kremers <joostkrem...@fastmail.com> Commit: Joost Kremers <joostkrem...@fastmail.com>
Keep order of account matchers. The user might expect that the account matchers are tried from top to bottom. --- csv2ledger.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csv2ledger.el b/csv2ledger.el index b6a05c20e8..9c658d91b9 100644 --- a/csv2ledger.el +++ b/csv2ledger.el @@ -229,7 +229,7 @@ See the documentation for the variable (account (match-string 2))) (push (cons matcher account) accounts)) (forward-line 1)) - accounts)) + (nreverse accounts))) (user-error "[Csv2Ledger] Account matcher file `%s' not found" file)))) (defun c2l--compile-matcher-regexps (accounts)