Skip to content

Commit

Permalink
Merge pull request #312 from bcc32/fix-311
Browse files Browse the repository at this point in the history
Fix ledger-narrow-on-reconcile
  • Loading branch information
purcell authored May 16, 2021
2 parents 58a2bf5 + 275da54 commit 19b84dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ledger-reconcile.el
Original file line number Diff line number Diff line change
Expand Up @@ -554,10 +554,10 @@ moved and recentered. If they aren't strange things happen."
(add-hook 'after-save-hook 'ledger-reconcile-refresh-after-save nil t)

;; Narrow the ledger buffer
(if ledger-narrow-on-reconcile
(ledger-occur (regexp-quote account)))

(with-current-buffer rbuf
(save-excursion
(if ledger-narrow-on-reconcile
(ledger-occur account)))
(if (> (ledger-reconcile-refresh) 0)
(ledger-reconcile-change-target target))
(ledger-display-balance)))))
Expand Down

0 comments on commit 19b84dc

Please sign in to comment.