summaryrefslogtreecommitdiff
path: root/lisp/ldg-sort.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ldg-sort.el')
-rw-r--r--lisp/ldg-sort.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ldg-sort.el b/lisp/ldg-sort.el
index b106173b..f426a7ef 100644
--- a/lisp/ldg-sort.el
+++ b/lisp/ldg-sort.el
@@ -28,8 +28,8 @@
(defun ledger-next-record-function ()
"Move point to next transaction."
- (if (re-search-forward ledger-sort-next-record-regex
- nil t)
+ (if (re-search-forward ledger-payee-any-status-regex
+ nil t)
(goto-char (match-beginning 0))
(goto-char (point-max))))