summaryrefslogtreecommitdiff
path: root/lisp/ldg-state.el
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-03-25 21:19:17 -0400
committerCraig Earls <enderw88@gmail.com>2013-03-25 21:19:17 -0400
commitbc7a885eb711f4a6cf83d8e7701d90f0079e0359 (patch)
tree4cd138c0a1b0f04b7f15dab972376208af540ad3 /lisp/ldg-state.el
parent48266d110758e54716177e5c87e33103247414a0 (diff)
downloadfork-ledger-bc7a885eb711f4a6cf83d8e7701d90f0079e0359.tar.gz
fork-ledger-bc7a885eb711f4a6cf83d8e7701d90f0079e0359.tar.bz2
fork-ledger-bc7a885eb711f4a6cf83d8e7701d90f0079e0359.zip
Speed improvement to align-postings.
In some cases align-posting was getting called twice
Diffstat (limited to 'lisp/ldg-state.el')
-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 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