From 67c9e2d43f0e04f3177f4c1bec2aa2ebd0660e14 Mon Sep 17 00:00:00 2001 From: Kan-Ru Chen Date: Sun, 28 Jun 2015 18:52:32 -0700 Subject: Fix ledger-magic-tab: Wrong number of arguments ledger-post-align-postings expects (beg end) not to be optional --- lisp/ledger-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp') diff --git a/lisp/ledger-mode.el b/lisp/ledger-mode.el index 3b01aa10..f2eb4b21 100644 --- a/lisp/ledger-mode.el +++ b/lisp/ledger-mode.el @@ -159,7 +159,7 @@ Can indent, complete or align depending on context." (if (and (> (point) 1) (looking-back "\\([^ \t]\\)" 1)) (ledger-pcomplete interactively) - (ledger-post-align-postings)))) + (ledger-post-align-postings (line-beginning-position) (line-end-position))))) (defvar ledger-mode-abbrev-table) -- cgit v1.2.3