branch: elpa/csv2ledger
commit 9dd9708b945f3ce9400644b0e490c6366e4c97ca
Author: Joost Kremers <joostkrem...@fastmail.fm>
Commit: Joost Kremers <joostkrem...@fastmail.fm>

    Rename `c2l-field-parse-functions` to `c2l-field-modify-functions`
    
    Also update its default value and update the doc string.
---
 csv2ledger.el | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/csv2ledger.el b/csv2ledger.el
index 976dee5d7e..57b01a21f5 100644
--- a/csv2ledger.el
+++ b/csv2ledger.el
@@ -111,15 +111,12 @@ and `debit' columns.  You should set `c2l-title-function' 
and
   :type '(repeat symbol)
   :group 'csv2ledger)
 
-(defcustom c2l-field-parse-functions '((date        . identity)
-                                       (valuation   . identity)
-                                       (description . identity)
-                                       (sender      . identity)
-                                       (payee       . identity)
-                                       (amount      . identity))
+(defcustom c2l-field-modify-functions nil
   "List of functions to modify fields in an entry.
-These functions should take a single string argument and should
-return a string."
+This option should be an alist mapping field names (as symbols)
+to functions.  These functions should take a single string
+argument and should return a string, which will be the value used
+for the field in question."
   :type '(repeat (cons (symbol :tag "Field") function))
   :group 'csv2ledger)
 

Reply via email to