summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-02-09 06:26:27 -0800
committerCraig Earls <enderw88@gmail.com>2013-02-09 06:26:27 -0800
commitf654ee400910e4dc0c35831a3033083207c5fe47 (patch)
tree9e821742fb903e3d23f56011312d2e45b19a68c3
parent68665a73733bbdac7578df115808f872606176eb (diff)
parent0f83f779a627964f7f9044afd383b7a9152545b9 (diff)
downloadfork-ledger-f654ee400910e4dc0c35831a3033083207c5fe47.tar.gz
fork-ledger-f654ee400910e4dc0c35831a3033083207c5fe47.tar.bz2
fork-ledger-f654ee400910e4dc0c35831a3033083207c5fe47.zip
Merge pull request #151 from vanicat/t/realy-move
On move event, save excursion before calling ledger-reconcile-visit
-rw-r--r--lisp/ldg-reconcile.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ldg-reconcile.el b/lisp/ldg-reconcile.el
index 5314f554..e0ba1ea7 100644
--- a/lisp/ldg-reconcile.el
+++ b/lisp/ldg-reconcile.el
@@ -262,7 +262,8 @@
'previous-line
'mouse-set-point
'ledger-reconcile-toggle))
- (ledger-reconcile-visit t)))
+ (save-excursion
+ (ledger-reconcile-visit t))))
(defun ledger-reconcile (account)
(interactive "sAccount to reconcile: ")