emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/csv2ledger 5dd5e36a07 018/190: Add user option `c2l-title-


From: ELPA Syncer
Subject: [nongnu] elpa/csv2ledger 5dd5e36a07 018/190: Add user option `c2l-title-match-fields`.
Date: Sun, 2 Jun 2024 15:59:42 -0400 (EDT)

branch: elpa/csv2ledger
commit 5dd5e36a07ee0562c6f13b4946be2184e91a54d1
Author: Joost Kremers <joostkremers@fastmail.fm>
Commit: Joost Kremers <joostkremers@fastmail.fm>

    Add user option `c2l-title-match-fields`.
---
 csv2ledger.el | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/csv2ledger.el b/csv2ledger.el
index bb98f93142..a19fa50826 100644
--- a/csv2ledger.el
+++ b/csv2ledger.el
@@ -130,6 +130,14 @@ the corresponding account is used to book the transaction."
   :type 'file
   :group 'csv2ledger)
 
+(defcustom c2l-title-match-fields '(payee description)
+  "List of fields used for matching the target account.
+Fields in this list are matched against the matchers in
+`c2l-account-matchers-file'.  Note that the order of the fields
+in this list can be relevant, because the first field that
+returns a match wins."
+  :type '(repeat symbol)
+  :group 'csv2ledger)
 
 (defun c2l-parse-date (date)
   "Convert DATE from \"17.10.2022\" to \"2022-10-17\"."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]