summaryrefslogtreecommitdiff
path: root/lisp/ldg-mode.el
diff options
context:
space:
mode:
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: ")