summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2015-01-18 07:02:56 -0700
committerCraig Earls <enderw88@gmail.com>2015-01-18 07:02:56 -0700
commit6547448676ee51c390086e49da32f6cb636b74f9 (patch)
tree138cbfe485f9ae0947e22c7b937332ab2cc234d1 /lisp
parent31b9964e430e8ed0ed6d294255bebf50909e71ea (diff)
parent561ec047be7c490da194c9fadf280bd1862e02b9 (diff)
downloadfork-ledger-6547448676ee51c390086e49da32f6cb636b74f9.tar.gz
fork-ledger-6547448676ee51c390086e49da32f6cb636b74f9.tar.bz2
fork-ledger-6547448676ee51c390086e49da32f6cb636b74f9.zip
Merge pull request #372 from marcowahl/next
[emacs] fix copy
Diffstat (limited to 'lisp')
-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)