Reconcile code cleanup
This commit is contained in:
parent
b608ed23e4
commit
f89665ba44
1 changed files with 2 additions and 4 deletions
|
|
@ -148,13 +148,11 @@ And calculate the target-delta of the account being reconciled."
|
||||||
"Force the reconciliation window to refresh.
|
"Force the reconciliation window to refresh.
|
||||||
Return the number of uncleared xacts found."
|
Return the number of uncleared xacts found."
|
||||||
(interactive)
|
(interactive)
|
||||||
(let ((inhibit-read-only t)
|
(let ((inhibit-read-only t))
|
||||||
(line (count-lines (point-min) (point))))
|
|
||||||
(erase-buffer)
|
(erase-buffer)
|
||||||
(prog1 (ledger-do-reconcile)
|
(prog1 (ledger-do-reconcile)
|
||||||
(set-buffer-modified-p t)
|
(set-buffer-modified-p t)
|
||||||
(goto-char (point-min))
|
(goto-char (point-min)))))
|
||||||
(forward-line line))))
|
|
||||||
|
|
||||||
(defun ledger-reconcile-refresh-after-save ()
|
(defun ledger-reconcile-refresh-after-save ()
|
||||||
"Refresh the recon-window after the ledger buffer is saved."
|
"Refresh the recon-window after the ledger buffer is saved."
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue