summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-06-15 16:38:41 +0100
committerJohn Wiegley <johnw@newartisans.com>2009-06-15 16:38:41 +0100
commitc9719006bed77c677af6f2d558b5a131a7f9efdd (patch)
treed57c7ebaa0359166caa06beb3cd2ee85c9e4c17b
parent0e642077571ea56039454d0b02a20a55f2e66227 (diff)
downloadfork-ledger-c9719006bed77c677af6f2d558b5a131a7f9efdd.tar.gz
fork-ledger-c9719006bed77c677af6f2d558b5a131a7f9efdd.tar.bz2
fork-ledger-c9719006bed77c677af6f2d558b5a131a7f9efdd.zip
Minor fix to entry title coloring
-rw-r--r--lisp/ledger.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ledger.el b/lisp/ledger.el
index 6c91c29e..7ff8bc7f 100644
--- a/lisp/ledger.el
+++ b/lisp/ledger.el
@@ -128,7 +128,7 @@ text that should replace the format specifier."
(defvar bold 'bold)
(defvar ledger-font-lock-keywords
- '(("^[0-9./=]+\\s-+\\(?:([^)]+)\\s-+\\)?\\([^*].+\\)" 1 bold)
+ '(("^[0-9./=]+\\s-+\\(?:([^)*]+)\\s-+\\)?\\(.+\\)" 1 bold)
("\s \\{5,\\}\\([$]-[0-9][0-9,.]*\\)" 1 font-lock-warning-face)
("\s \\{5,\\}\\(-?[0-9][0-9,.]*\\)" 1 font-lock-type-face)
("^\\s-+.+?\\( \\|\t\\|\n\\|\\s-+$\\)" . font-lock-keyword-face)