summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-02-15 09:04:34 -0700
committerCraig Earls <enderw88@gmail.com>2013-02-15 09:04:34 -0700
commit2a7d1c83dd94b7d3af7e25c9e0ae40349f7c8dcd (patch)
tree5b6311a378847a881bc9f166f85adc68a8925147 /lisp
parent9d2b2e3cebacb40abadfe6820a0064bbff088d39 (diff)
downloadledger-2a7d1c83dd94b7d3af7e25c9e0ae40349f7c8dcd.tar.gz
ledger-2a7d1c83dd94b7d3af7e25c9e0ae40349f7c8dcd.tar.bz2
ledger-2a7d1c83dd94b7d3af7e25c9e0ae40349f7c8dcd.zip
Corrects problem clearing a transaction
toggle-current in the payee line will override all posting statuses and clear or unclear the entire transaction.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ldg-state.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ldg-state.el b/lisp/ldg-state.el
index 6c66ab24..beecb591 100644
--- a/lisp/ldg-state.el
+++ b/lisp/ldg-state.el
@@ -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))