diff options
author | Rémi Vanicat <vanicat@debian.org> | 2013-02-09 14:42:52 +0100 |
---|---|---|
committer | Rémi Vanicat <vanicat@debian.org> | 2013-02-09 15:19:02 +0100 |
commit | 0f83f779a627964f7f9044afd383b7a9152545b9 (patch) | |
tree | 9e821742fb903e3d23f56011312d2e45b19a68c3 /lisp | |
parent | 68665a73733bbdac7578df115808f872606176eb (diff) | |
download | fork-ledger-0f83f779a627964f7f9044afd383b7a9152545b9.tar.gz fork-ledger-0f83f779a627964f7f9044afd383b7a9152545b9.tar.bz2 fork-ledger-0f83f779a627964f7f9044afd383b7a9152545b9.zip |
On move event, save excursion before calling ledger-reconcile-visit
Otherwise, ledger-reconcile-visit might undo last move
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ldg-reconcile.el | 3 |
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: ") |