branch: elpa/beancount
commit 404876fa6bbc2603d9d45e74300241be640dc514
Author: Martin Blais <[email protected]>
Commit: Martin Blais <[email protected]>
Fixed #302: beancount.el does not fontify account names with single letter
components.
---
beancount.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/beancount.el b/beancount.el
index 7ca2a02931..d7e6d7074f 100644
--- a/beancount.el
+++ b/beancount.el
@@ -112,7 +112,7 @@
("[0-9][0-9][0-9][0-9][-/][0-9][0-9][-/][0-9][0-9]" .
font-lock-constant-face)
;; Account
- ("\\([A-Z][A-Za-z0-9\-]+:\\)+\\([A-Z][A-Za-z0-9\-]+\\)" .
font-lock-builtin-face)
+ ("\\([A-Z][A-Za-z0-9\-]+:\\)+\\([A-Z][A-Za-z0-9\-]*\\)" .
font-lock-builtin-face)
;; Txn Flags
("! " . font-lock-warning-face)