diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ledger-xact.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ledger-xact.el b/lisp/ledger-xact.el index 64f69cbe..b10434ac 100644 --- a/lisp/ledger-xact.el +++ b/lisp/ledger-xact.el @@ -89,8 +89,9 @@ MOMENT is an encoded date" (when (and (eobp) last-xact-start) (let ((end (cadr (ledger-navigate-find-xact-extents last-xact-start)))) (goto-char end) - (if (eobp) + (if (= (line-beginning-position) (line-end-position)) (insert "\n") + (insert "\n\n") (forward-line)))))) (defun ledger-xact-iterate-transactions (callback) |