From e446b0077e00e4e90e1b28d61c9e1e9315525584 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 11 Feb 2009 20:20:18 -0400 Subject: After hitting TAB to insert a new entry, position point at the amount. --- lisp/ledger.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/ledger.el b/lisp/ledger.el index 43aabffe..7021c7df 100644 --- a/lisp/ledger.el +++ b/lisp/ledger.el @@ -1179,7 +1179,10 @@ the default." (ledger-add-entry text t) ((error) (insert text)))) + (forward-line) (goto-char (line-end-position)) + (search-backward ";" (line-beginning-position) t) + (skip-chars-backward " \t0123456789.,") (throw 'pcompleted t)) (ledger-accounts))))) -- cgit v1.2.3