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 a8e73b88..7e37163b 100644
--- a/lisp/ldg-complete.el
+++ b/lisp/ldg-complete.el
@@ -155,7 +155,7 @@ Does not use ledger xact"
(setq rest-of-name (match-string 3))
;; Start copying the postings
(forward-line)
- (while (looking-at "^\\s-+")
+ (while (looking-at ledger-post-account-regex)
(setq xacts (cons (buffer-substring-no-properties
(line-beginning-position)
(line-end-position))