Bug 936 Fixes ledger-add-transaction.
Symptom was no empty line after xact, real problem was not putting ledger output into the temp buffer.
This commit is contained in:
parent
5418e77c63
commit
ad07d28427
1 changed files with 1 additions and 1 deletions
|
|
@ -249,7 +249,7 @@ correct chronological place in the buffer."
|
||||||
(insert
|
(insert
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
(setq exit-code
|
(setq exit-code
|
||||||
(apply #'ledger-exec-ledger ledger-buf ledger-buf "xact"
|
(apply #'ledger-exec-ledger ledger-buf (current-buffer) "xact"
|
||||||
(mapcar 'eval args)))
|
(mapcar 'eval args)))
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(if (looking-at "Error: ")
|
(if (looking-at "Error: ")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue