branch: elpa/beancount
commit 8496f49748a8bee3416d6305fa80daf0f380c383
Author: Martin Blais <bl...@furius.ca>
Commit: Martin Blais <bl...@furius.ca>

    Fixed #302: Fixed second bug with font-locking for account names (starting 
with digit).
---
 beancount.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/beancount.el b/beancount.el
index d7e6d7074f..04abe799c3 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-Z0-9][A-Za-z0-9\-]*\\)" . 
font-lock-builtin-face)
 
     ;; Txn Flags
     ("! " . font-lock-warning-face)

Reply via email to