From 2a7d1c83dd94b7d3af7e25c9e0ae40349f7c8dcd Mon Sep 17 00:00:00 2001 From: Craig Earls Date: Fri, 15 Feb 2013 09:04:34 -0700 Subject: [PATCH] Corrects problem clearing a transaction toggle-current in the payee line will override all posting statuses and clear or unclear the entire transaction. --- lisp/ldg-state.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))