summaryrefslogtreecommitdiff
path: root/lisp/ldg-complete.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ldg-complete.el')
-rw-r--r--lisp/ldg-complete.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ldg-complete.el b/lisp/ldg-complete.el
index 2faef5df..3dd48a74 100644
--- a/lisp/ldg-complete.el
+++ b/lisp/ldg-complete.el
@@ -82,7 +82,7 @@
(dolist (account
(delete-dups
(progn
- (while (re-search-forward ledger-account-or-metadata-regex nil t)
+ (while (re-search-forward ledger-account-any-status-regex nil t)
(unless (between origin (match-beginning 0) (match-end 0))
(setq accounts (cons (match-string-no-properties 2) accounts))))
accounts)))