summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-03-24 14:06:41 -0400
committerCraig Earls <enderw88@gmail.com>2013-03-24 14:06:41 -0400
commit59e8967d06d0895ece75b27aeb6b4dbf518fcf0a (patch)
treecd19873313f3d6b14ef0914a500c456bf20e426c
parent5797623fd7bb998f2e5fd9cd71e0dbe4c4f826dd (diff)
downloadfork-ledger-59e8967d06d0895ece75b27aeb6b4dbf518fcf0a.tar.gz
fork-ledger-59e8967d06d0895ece75b27aeb6b4dbf518fcf0a.tar.bz2
fork-ledger-59e8967d06d0895ece75b27aeb6b4dbf518fcf0a.zip
Fix bug 923
-rw-r--r--lisp/ldg-mode.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/ldg-mode.el b/lisp/ldg-mode.el
index 75004072..dafd0740 100644
--- a/lisp/ldg-mode.el
+++ b/lisp/ldg-mode.el
@@ -81,6 +81,8 @@ Can be pcomplete, or align-posting"
(ledger-init-load-init-file)
+ (setq indent-line-function 'ledger-post-align-postings)
+
(let ((map (current-local-map)))
(define-key map [(control ?c) (control ?a)] 'ledger-add-transaction)
(define-key map [(control ?c) (control ?b)] 'ledger-post-edit-amount)