diff options
author | Craig Earls <enderw88@gmail.com> | 2014-11-14 17:22:04 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2014-11-14 17:22:04 -0700 |
commit | 7654a4e91441fc154957aec83601e97206d89489 (patch) | |
tree | 606fba9ebdb41fecaf2ec729e3cf422fe48b8662 /ledger-occur.el | |
parent | cb79d95634326a75894587b846cf38848fbe57b4 (diff) |
Fix a bug the caused reconciliation to lock up in an automatic transaction was followed immediately with a virtual transaction on the same account.
This was related to the navigation changes push a while back.
Diffstat (limited to 'ledger-occur.el')
-rw-r--r-- | ledger-occur.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ledger-occur.el b/ledger-occur.el index cd7a267..400967f 100644 --- a/ledger-occur.el +++ b/ledger-occur.el @@ -160,7 +160,7 @@ Used for coordinating `ledger-occur' with other buffers, like reconcile." (while (not (eobp)) ;; if something found (when (setq endpoint (re-search-forward regex nil 'end)) - (setq bounds (ledger-navigate-find-xact-extents endpoint)) + (setq bounds (ledger-navigate-find-element-extents endpoint)) (push bounds lines) ;; move to the end of the xact, no need to search inside it more (goto-char (cadr bounds)))) |