Bug 894 Changing reconciliation account now repositions point in the Reconcile buffer correctly.
This commit is contained in:
parent
d8f0b0fa83
commit
089716fb13
1 changed files with 3 additions and 2 deletions
|
|
@ -74,7 +74,7 @@ numbers"
|
|||
; split arguments like the shell does, so you need to
|
||||
; specify the individual fields in the command line.
|
||||
"balance" "--limit" "cleared or pending"
|
||||
"--format" "(\"%(amount)\")" account)
|
||||
"--format" "(\"%(display_total)\")" account)
|
||||
(setq val (read (buffer-substring-no-properties (point-min) (point-max)))))))
|
||||
|
||||
(defun ledger-display-balance ()
|
||||
|
|
@ -363,7 +363,8 @@ POSTING is used in `ledger-clear-whole-transactions' is nil."
|
|||
(call-interactively #'ledger-read-commodity-string))
|
||||
(unless (get-buffer-window rbuf)
|
||||
(ledger-reconcile-open-windows buf rbuf))
|
||||
(ledger-reconcile-refresh))
|
||||
(ledger-reconcile-refresh)
|
||||
(goto-char (point-min)))
|
||||
|
||||
(progn ;; no recon-buffer, starting from scratch.
|
||||
(add-hook 'after-save-hook 'ledger-reconcile-refresh-after-save nil t)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue