summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/ldg-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ldg-mode.el b/lisp/ldg-mode.el
index f7e3d0e6..ebe1e4bd 100644
--- a/lisp/ldg-mode.el
+++ b/lisp/ldg-mode.el
@@ -87,7 +87,7 @@ Can indent, complete or align depending on context."
(if (= (point) (line-beginning-position))
(indent-to ledger-post-account-alignment-column)
(if (and (> (point) 1)
- (looking-back "[:A-Za-z0-9]" 1))
+ (looking-back "\\([[:print:]]\\)" 1))
(ledger-pcomplete interactively)
(ledger-post-align-postings))))