In ledger-reconcile, open file where transaction are, and store it.
This commit is contained in:
parent
3b44a9fd2a
commit
21968b1e12
1 changed files with 4 additions and 2 deletions
|
|
@ -169,10 +169,12 @@
|
|||
"find the position of the xact in the ledger-buf buffer using
|
||||
the emacs output from ledger, return a marker to the beginning
|
||||
of the xact in the buffer"
|
||||
(let ((buf ledger-buf))
|
||||
(let ((buf (if (is-stdin emacs-xact)
|
||||
ledger-buf
|
||||
(find-file-noselect (nth 0 item)))))
|
||||
(with-current-buffer buf ;use the ledger-buf buffer
|
||||
(cons
|
||||
(nth 0 item)
|
||||
buf
|
||||
(if ledger-clear-whole-entries ;determines whether to
|
||||
;clear on the payee line
|
||||
;or posting line
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue