diff options
author | Craig Earls <enderw88@gmail.com> | 2015-08-22 18:48:48 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2015-08-22 18:48:48 -0700 |
commit | 38315cfba2a4677ed3d7df81e3f4a5d28f1f4a1b (patch) | |
tree | f071d9b7fcc54a3a6f92be69b147f4a74e9e2663 /lisp | |
parent | 9627e2a97b56826e723eee0b8410a3e12bde4bb9 (diff) | |
parent | 6fe913aa87ebb84dc39f6277aeeb6abf716c2985 (diff) | |
download | fork-ledger-38315cfba2a4677ed3d7df81e3f4a5d28f1f4a1b.tar.gz fork-ledger-38315cfba2a4677ed3d7df81e3f4a5d28f1f4a1b.tar.bz2 fork-ledger-38315cfba2a4677ed3d7df81e3f4a5d28f1f4a1b.zip |
Merge pull request #426 from andschwa/fix-find-eobp
Fix xact-find-slot at end of buffer
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ledger-xact.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/ledger-xact.el b/lisp/ledger-xact.el index 64f69cbe..513f8f26 100644 --- a/lisp/ledger-xact.el +++ b/lisp/ledger-xact.el @@ -89,9 +89,8 @@ 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) - (insert "\n") - (forward-line)))))) + (insert "\n") + (forward-line))))) (defun ledger-xact-iterate-transactions (callback) "Iterate through each transaction call CALLBACK for each." |