summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2011-11-18 22:36:46 -0700
committerJohn Wiegley <johnw@newartisans.com>2012-02-10 09:36:36 -1000
commita3fb26559b7b3aea1de376a11a28bb4140c9a940 (patch)
treeba56c9f5277fbe143fc7a7e3e0860bb6693009e8 /lisp
parent98a75dd7e955e0aa53cd0fc60f7742e4205739b6 (diff)
downloadledger-a3fb26559b7b3aea1de376a11a28bb4140c9a940.tar.gz
ledger-a3fb26559b7b3aea1de376a11a28bb4140c9a940.tar.bz2
ledger-a3fb26559b7b3aea1de376a11a28bb4140c9a940.zip
Wrote Asset Allocation section
Diffstat (limited to 'lisp')
-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)