summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/ledger-xact.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/ledger-xact.el b/lisp/ledger-xact.el
index 0eb9386a..bad36e7a 100644
--- a/lisp/ledger-xact.el
+++ b/lisp/ledger-xact.el
@@ -139,6 +139,7 @@ MOMENT is an encoded date"
(string-to-number (match-string 2 date)))))
(ledger-xact-find-slot encoded-date)
(insert transaction "\n")
+ (beginning-of-line -1)
(ledger-navigate-beginning-of-xact)
(re-search-forward ledger-iso-date-regexp)
(replace-match date)