summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-02-21 06:43:00 -0700
committerCraig Earls <enderw88@gmail.com>2013-02-21 06:43:00 -0700
commit2fd1574cf2e969c7da7bf346837d859ac6ae90c9 (patch)
treedfef9f3b1139c4a919e4c40dcfce3217e8829140
parenta4e76727be273185c7eee5758262d58c5aa4ccdd (diff)
downloadfork-ledger-2fd1574cf2e969c7da7bf346837d859ac6ae90c9.tar.gz
fork-ledger-2fd1574cf2e969c7da7bf346837d859ac6ae90c9.tar.bz2
fork-ledger-2fd1574cf2e969c7da7bf346837d859ac6ae90c9.zip
Prevent point from being at the end of line when ledger-reconcile-toggle is called
-rw-r--r--lisp/ldg-reconcile.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/ldg-reconcile.el b/lisp/ldg-reconcile.el
index 623d7230..e040359d 100644
--- a/lisp/ldg-reconcile.el
+++ b/lisp/ldg-reconcile.el
@@ -112,6 +112,7 @@ numbers"
(defun ledger-reconcile-toggle ()
"Toggle the current transaction, and mark the recon window."
(interactive)
+ (beginning-of-line)
(let ((where (get-text-property (point) 'where))
(inhibit-read-only t)
status)