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

    Do not require a match when asking for an account name.
    
    It's possible that the user didn't set `c2l-accounts-file`, in which case
    requiring a match is not possible.
---
 csv2ledger.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/csv2ledger.el b/csv2ledger.el
index b532432aa1..9ce636e67f 100644
--- a/csv2ledger.el
+++ b/csv2ledger.el
@@ -267,7 +267,7 @@ strings are interpreted according to the template in
                                                (funcall c2l-title-function 
fields)
                                                (alist-get 'amount fields)
                                                (alist-get 'description fields))
-                                       c2l--accounts nil t))))
+                                       c2l--accounts))))
     (c2l-compose-entry fields account)))
 
 ;;;###autoload
@@ -275,7 +275,7 @@ strings are interpreted according to the template in
   "Set `c2l-base-account'."
   (unless c2l--accounts
     (setq c2l--accounts (c2l-read-accounts c2l-accounts-file)))
-  (setq c2l-base-account (completing-read "Base account for current buffer: " 
c2l--accounts nil t)))
+  (setq c2l-base-account (completing-read "Base account for current buffer: " 
c2l--accounts)))
 
 ;;;###autoload
 (defun c2l-csv-entry-as-kill ()

Reply via email to