summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKan-Ru Chen <kanru@kanru.info>2015-06-28 18:52:32 -0700
committerKan-Ru Chen <kanru@kanru.info>2015-06-28 18:52:32 -0700
commit67c9e2d43f0e04f3177f4c1bec2aa2ebd0660e14 (patch)
treef257fdce62062fc734bdcca6add8755ddae76978 /lisp
parent45e74103607a77c5945615692c3a35f9ce6aadde (diff)
downloadfork-ledger-67c9e2d43f0e04f3177f4c1bec2aa2ebd0660e14.tar.gz
fork-ledger-67c9e2d43f0e04f3177f4c1bec2aa2ebd0660e14.tar.bz2
fork-ledger-67c9e2d43f0e04f3177f4c1bec2aa2ebd0660e14.zip
Fix ledger-magic-tab: Wrong number of arguments
ledger-post-align-postings expects (beg end) not to be optional
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ledger-mode.el2
1 files changed, 1 insertions, 1 deletions
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)