summaryrefslogtreecommitdiff
path: root/lisp/ledger-fontify.el
diff options
context:
space:
mode:
authorpaulbdavis <paul@dangersalad.com>2015-09-18 01:40:35 -0400
committerpaulbdavis <paul@dangersalad.com>2015-09-18 09:31:04 -0400
commit92aead05ffba1966216e0cb40bf0ae192f001747 (patch)
tree718c48954bc8580a8bd003984e45a1404a4c54d1 /lisp/ledger-fontify.el
parent36de1868791cbb0fa36636494c68afcdb43e502b (diff)
downloadfork-ledger-92aead05ffba1966216e0cb40bf0ae192f001747.tar.gz
fork-ledger-92aead05ffba1966216e0cb40bf0ae192f001747.tar.bz2
fork-ledger-92aead05ffba1966216e0cb40bf0ae192f001747.zip
fontify recurring transaction in ledger-mode [ci skip]
Diffstat (limited to 'lisp/ledger-fontify.el')
-rw-r--r--lisp/ledger-fontify.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ledger-fontify.el b/lisp/ledger-fontify.el
index 2d4f850e..076e52b7 100644
--- a/lisp/ledger-fontify.el
+++ b/lisp/ledger-fontify.el
@@ -46,7 +46,8 @@
(beginning-of-line)
(while (< (point) end)
(cond ((or (looking-at ledger-xact-start-regex)
- (looking-at ledger-posting-regex))
+ (looking-at ledger-posting-regex)
+ (looking-at ledger-recurring-line-regexp))
(ledger-fontify-xact-at (point)))
((looking-at ledger-directive-start-regex)
(ledger-fontify-directive-at (point))))