summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-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)