Corrects problem clearing a transaction

toggle-current in the payee line will override all posting statuses and clear or unclear the entire transaction.
This commit is contained in:
Craig Earls 2013-02-15 09:04:34 -07:00
parent 9d2b2e3ceb
commit 2a7d1c83dd

View file

@ -220,7 +220,7 @@ dropped."
(save-excursion
(not (eq 'transaction (ledger-thing-at-point)))))
(if (looking-at "\\s-+[*!]")
(ledger-toggle-current-transaction style))
(ledger-toggle-current-posting style))
(forward-line)
(goto-char (line-beginning-position))))
(ledger-toggle-current-transaction style))