summaryrefslogtreecommitdiff
path: root/lisp/ldg-complete.el
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-05-10 13:25:24 -0700
committerCraig Earls <enderw88@gmail.com>2013-05-10 13:25:24 -0700
commit6539f1e1a972e8ab3d3522c985ce28fa1503dc20 (patch)
tree1d8a49a5d8b341bde3f1322bc367770df000b387 /lisp/ldg-complete.el
parent60e606a651f694723a69d30eb78ded5de0454b74 (diff)
downloadfork-ledger-6539f1e1a972e8ab3d3522c985ce28fa1503dc20.tar.gz
fork-ledger-6539f1e1a972e8ab3d3522c985ce28fa1503dc20.tar.bz2
fork-ledger-6539f1e1a972e8ab3d3522c985ce28fa1503dc20.zip
Reverted changes to completion. Changes were "more correct" but performance on large buffer was too poor.
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)))