summaryrefslogtreecommitdiff
path: root/lisp/ldg-mode.el
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-03-27 20:02:59 -0700
committerCraig Earls <enderw88@gmail.com>2013-03-27 20:02:59 -0700
commit12b2d1b6281166c863f0270220cc5a9d448130ca (patch)
tree14c4056501462c3030285b2ad291a0d849f129ee /lisp/ldg-mode.el
parent15b1d36fa298b0eb743ee4839096899787e11b8d (diff)
parent7fea9d21fb72e1d66423a928297dd3cc29c7cc78 (diff)
downloadfork-ledger-12b2d1b6281166c863f0270220cc5a9d448130ca.tar.gz
fork-ledger-12b2d1b6281166c863f0270220cc5a9d448130ca.tar.bz2
fork-ledger-12b2d1b6281166c863f0270220cc5a9d448130ca.zip
Merge branch 'next' into ledger-mode-automatic-transactions
Diffstat (limited to 'lisp/ldg-mode.el')
-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: ")