branch: elpa/csv2ledger commit e8a2151fc75e63dae913a3000f12144a7d0878f7 Author: Joost Kremers <joostkrem...@fastmail.fm> Commit: Joost Kremers <joostkrem...@fastmail.fm>
Fix references to `jk--ledger-compiled-account-regexes`. --- csv2ledger.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/csv2ledger.el b/csv2ledger.el index d470b4860d..0d5373fd5e 100644 --- a/csv2ledger.el +++ b/csv2ledger.el @@ -128,14 +128,14 @@ grouped by <account>." (defun c2l-match-account (str) "Try to match STR to an account." - (unless jk--ledger-compiled-account-regexes - (setq jk--ledger-compiled-account-regexes + (unless c2l-compiled-account-regexes + (setq c2l-compiled-account-regexes (-> c2l-account-matchers-file (c2l-read-account-matchers) (c2l-compile-account-regexes)))) (--some (if (string-match-p (cdr it) str) (car it)) - jk--ledger-compiled-account-regexes)) + c2l-compiled-account-regexes)) (defun c2l-csv-line-to-ledger (row) "Convert ROW to a ledger entry.