summaryrefslogtreecommitdiff
path: root/ledger-occur.el
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2014-11-14 17:22:04 -0700
committerCraig Earls <enderw88@gmail.com>2014-11-14 17:22:04 -0700
commit7654a4e91441fc154957aec83601e97206d89489 (patch)
tree606fba9ebdb41fecaf2ec729e3cf422fe48b8662 /ledger-occur.el
parentcb79d95634326a75894587b846cf38848fbe57b4 (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.el2
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))))