After hitting TAB to insert a new entry, position point at the amount.

This commit is contained in:
John Wiegley 2009-02-11 20:20:18 -04:00
parent 20bf2547d1
commit e446b0077e

View file

@ -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)))))