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

    Rename c2l-title-is-payee-or-sender to c2l-payee-or-sender.
    
    Since c2l-title-is-counterpart is now gone, the longer title seems a too 
much.
---
 csv2ledger.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/csv2ledger.el b/csv2ledger.el
index 997ca69a41..00f154b950 100644
--- a/csv2ledger.el
+++ b/csv2ledger.el
@@ -140,7 +140,7 @@ for the field in question."
   :type '(repeat (cons (symbol :tag "Field") function))
   :group 'csv2ledger)
 
-(defcustom c2l-title-function #'c2l-title-is-payee-or-sender
+(defcustom c2l-title-function #'c2l-payee-or-sender
   "Function to create a title.
 The function should take as argument an entry alist of
 field-value pairs and should return a string.  The string
@@ -237,7 +237,7 @@ format, it just splits DATE on the separator, reverses the 
date
 parts and joins them again, using a hyphen as separator."
   (string-join (nreverse (split-string date "[./-]" t "[[:space:]]")) "-"))
 
-(defun c2l-title-is-payee-or-sender (transaction)
+(defun c2l-payee-or-sender (transaction)
   "Return payee or sender based on `c2l-account-holder'.
 This function is for use as the value of `c2l-title-function'.
 TRANSACTION should be an alist containing field-value pairs and

Reply via email to