summaryrefslogtreecommitdiff
path: root/lisp/ldg-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ldg-mode.el')
-rw-r--r--lisp/ldg-mode.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/ldg-mode.el b/lisp/ldg-mode.el
index 434d7448..b435ada2 100644
--- a/lisp/ldg-mode.el
+++ b/lisp/ldg-mode.el
@@ -44,13 +44,13 @@
(interactive)
(remove-overlays))
-(defun ledger-magic-tab ()
+(defun ledger-magic-tab (&optional interactively)
"Decide what to with with <TAB> .
Can be pcomplete, or align-posting"
- (interactive)
+ (interactive "p")
(if (and (> (point) 1)
(looking-back "[:A-Za-z0-9]" 1))
- (pcomplete)
+ (ledger-pcomplete interactively)
(ledger-post-align-postings)))
(defvar ledger-mode-abbrev-table)