summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-03-27 16:35:43 -0400
committerCraig Earls <enderw88@gmail.com>2013-03-27 16:35:43 -0400
commitad07d2842737a72a600603c8cd6cde870e477d81 (patch)
treeb7f12d4b2a77ebbd46aa8b30a31b636aec7e2bd2
parent5418e77c638ac34a340ab3ed368f800cb6f02353 (diff)
downloadfork-ledger-ad07d2842737a72a600603c8cd6cde870e477d81.tar.gz
fork-ledger-ad07d2842737a72a600603c8cd6cde870e477d81.tar.bz2
fork-ledger-ad07d2842737a72a600603c8cd6cde870e477d81.zip
Bug 936 Fixes ledger-add-transaction.
Symptom was no empty line after xact, real problem was not putting ledger output into the temp buffer.
-rw-r--r--lisp/ldg-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ldg-mode.el b/lisp/ldg-mode.el
index 1d587d63..c9814918 100644
--- a/lisp/ldg-mode.el
+++ b/lisp/ldg-mode.el
@@ -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: ")