summaryrefslogtreecommitdiff
path: root/lisp/ldg-complete.el
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-04-01 16:35:05 -0700
committerCraig Earls <enderw88@gmail.com>2013-04-01 16:35:05 -0700
commit712665e5b4b748c554174a13d5a66f5cab1c97fd (patch)
treef0692319544837479bd578e2c9248dd53bf1d0fb /lisp/ldg-complete.el
parentb15d4bc09e40c71bd9a59f33457839daaec659a8 (diff)
parent78bedf7c8ea15e369f56fbd317d03deb35343258 (diff)
downloadfork-ledger-712665e5b4b748c554174a13d5a66f5cab1c97fd.tar.gz
fork-ledger-712665e5b4b748c554174a13d5a66f5cab1c97fd.tar.bz2
fork-ledger-712665e5b4b748c554174a13d5a66f5cab1c97fd.zip
Merge branch 'next' into ledger-mode-automatic-transactions
Diffstat (limited to 'lisp/ldg-complete.el')
-rw-r--r--lisp/ldg-complete.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/ldg-complete.el b/lisp/ldg-complete.el
index 65206026..fe27e91d 100644
--- a/lisp/ldg-complete.el
+++ b/lisp/ldg-complete.el
@@ -77,10 +77,9 @@ Return tree structure"
(split-string
(match-string-no-properties 2) ":"))
(let ((root account-tree))
- (while (and account-elements
- (not (char-equal (string-to-char (car account-elements)) ?\;)))
- (let ((entry (assoc (car account-elements) root)))
- (if entry
+ (while account-elements
+ (let ((entry (assoc (car account-elements) root)))
+ (if entry
(setq root (cdr entry))
(setq entry (cons (car account-elements) (list t)))
(nconc root (list entry))