summaryrefslogtreecommitdiff
path: root/lisp/ldg-reconcile.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ldg-reconcile.el')
-rw-r--r--lisp/ldg-reconcile.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/ldg-reconcile.el b/lisp/ldg-reconcile.el
index 33c9f06f..e45ab7c3 100644
--- a/lisp/ldg-reconcile.el
+++ b/lisp/ldg-reconcile.el
@@ -351,10 +351,11 @@ POSTING is used in `ledger-clear-whole-transactions' is nil."
(set-window-buffer (split-window (get-buffer-window buf) nil nil) rbuf)
(pop-to-buffer rbuf)))
-(defun ledger-reconcile (account)
- "Start reconciling ACCOUNT."
- (interactive "sAccount to reconcile: ")
- (let ((buf (current-buffer))
+(defun ledger-reconcile ()
+ "Start reconciling, prompt for account."
+ (interactive)
+ (let ((account (ledger-post-read-account-with-prompt "Account to reconcile"))
+ (buf (current-buffer))
(rbuf (get-buffer ledger-recon-buffer-name))) ;; this means
;; only one
;; *Reconcile*