From bc7a885eb711f4a6cf83d8e7701d90f0079e0359 Mon Sep 17 00:00:00 2001 From: Craig Earls Date: Mon, 25 Mar 2013 21:19:17 -0400 Subject: Speed improvement to align-postings. In some cases align-posting was getting called twice --- lisp/ldg-state.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/ldg-state.el') diff --git a/lisp/ldg-state.el b/lisp/ldg-state.el index c1027f5c..88891aff 100644 --- a/lisp/ldg-state.el +++ b/lisp/ldg-state.el @@ -163,7 +163,7 @@ dropped." (delete-char 1)))) (setq new-status inserted)))) (if has-align-hook - (add-hook 'after-change-functions 'ledger-post-maybe-align t t)))) + (add-hook 'after-change-functions 'ledger-post-maybe-align t t)))) ;; This excursion cleans up the entry so that it displays ;; minimally. This means that if all posts are cleared, remove -- cgit v1.2.3