Skip to content

Commit

Permalink
fixed bug in add multiple entry in one go
Browse files Browse the repository at this point in the history
  • Loading branch information
md-arif-shaikh committed Mar 18, 2022
1 parent 4ae0a90 commit 1ae2d69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion expenses.el
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ Looks for the last two existing files and collect the details."
(when expenses-add-hline-in-org (insert "|--|--|--|--|\n"))
(append-to-file (point-min) (point-max) file-name))
(when (string-equal (completing-read "Add another expense: " '("no" "yes")) "yes")
(expenses-add-expense))
(expenses-add-expense user))
(with-current-buffer (find-file-noselect file-name)
(goto-char (point-max))
(forward-line -1)
Expand Down

0 comments on commit 1ae2d69

Please sign in to comment.