Updated scan.highlighted to feed an expression to %(zputlit).
authorDavid Levine <levinedl@acm.org>
Wed, 14 Nov 2012 04:32:22 +0000 (22:32 -0600)
committerDavid Levine <levinedl@acm.org>
Wed, 14 Nov 2012 04:32:22 +0000 (22:32 -0600)
etc/scan.highlighted

index d6a140e..4bffe58 100644 (file)
 %;     bright-white: \e[1;37m
 %;     underlined-white: \e[4;37m
 %; To use them in the format, e.g., at the beginning:
-%;     %<(cur)%(void(profile yellow))%(zputlit)%>\
-%;     %<(unseen)%(void(profile cyan))%(zputlit)%>\
+%;     %<(cur)%(zputlit(profile yellow))%>\
+%;     %<(unseen)%(zputlit(profile cyan))%>\
 %; and at the end:
 %;     %(void(profile normal))%(zputlit)
 %;
-%<(cur)%(void(lit \e[33;40m))%(zputlit)%>\
-%<(unseen)%(void(lit \e[36;40m))%(zputlit)%>\
+%<(cur)%(zputlit(lit \e[33;40m))%>\
+%<(unseen)%(zputlit(lit \e[36;40m))%>\
 %4(msg)%<(cur)+%| %>%<{replied}-%?{encrypted}E%| %>\
 %02(mon{date})/%02(mday{date})%<{date} %|*%>\
 %<(mymbox{from})%<{to}To:%14(decode(friendly{to}))%>%>\
 %<(zero)%17(decode(friendly{from}))%>  \
-%(decode{subject})%<{body}<<%{body}>>%>%(void(lit \e[m))%(zputlit)
+%(decode{subject})%<{body}<<%{body}>>%>%(zputlit(lit \e[m))