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:
Craig Earls 2013-03-27 16:35:43 -04:00
parent 5418e77c63
commit ad07d28427

View file

@ -249,7 +249,7 @@ correct chronological place in the buffer."
(insert
(with-temp-buffer
(setq exit-code
(apply #'ledger-exec-ledger ledger-buf ledger-buf "xact"
(apply #'ledger-exec-ledger ledger-buf (current-buffer) "xact"
(mapcar 'eval args)))
(goto-char (point-min))
(if (looking-at "Error: ")