summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/ledger.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/ledger.el b/lisp/ledger.el
index ac74d843..a1fdd9c9 100644
--- a/lisp/ledger.el
+++ b/lisp/ledger.el
@@ -132,8 +132,7 @@ text that should replace the format specifier."
("^[0-9]+[-/.=][-/.=0-9]+\\s-+\\(([^)]+)\\s-+\\)?\\([^*].+?\\)\\(\\( ;\\| ;\\|$\\)\\)" 2 bold)
;;("^[0-9]+[-/.=][-/.=0-9]+\\s-+\\(([^)]+)\\s-+\\)?\\([*].+?\\)\\(\\( ;\\| ;\\|$\\)\\)"
;; 2 font-lock-type-face)
- ("^\\s-+\\([*]\\s-*\\)?\\(\\([[(]\\)?[^*:
- ]+?:[^]);
+ ("^\\s-+\\([*]\\s-*\\)?\\(\\([[(]\\)?\\([A-Za-z]\\|\\s-\\)+?:[^]);
]+?\\([])]\\)?\\)\\( \\| \\|$\\)"
2 font-lock-keyword-face)
("^\\([~=].+\\)" 1 font-lock-function-name-face)