Insert an extra newline if EOBP is not on its own line when you add an act.
This commit is contained in:
parent
f310341bf5
commit
2fe6663fdb
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue