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

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

[nongnu] elpa/csv2ledger d1910389f1 100/190: Rename c2l-title-is-payee-o


From: ELPA Syncer
Subject: [nongnu] elpa/csv2ledger d1910389f1 100/190: Rename c2l-title-is-payee-or-sender to c2l-payee-or-sender.
Date: Sun, 2 Jun 2024 15:59:49 -0400 (EDT)

branch: elpa/csv2ledger
commit d1910389f1156fba96bd4b1a01daf16966da6cf0
Author: Joost Kremers <joostkremers@fastmail.fm>
Commit: Joost Kremers <joostkremers@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

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