states/hl/mail.st: Support extended mail headers. - enscript - GNU Enscript
(HTM) git clone git://thinkerwim.org/enscript.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 6f1eead89c678724e80326210d5b52c1434405a5
(DIR) parent 839c8648c2d1cefb77dba8a88857db7e8dc78e59
(HTM) Author: Tim Retout <diocles@gnu.org>
Date: Sun, 10 Jul 2011 02:47:53 +0100
states/hl/mail.st: Support extended mail headers.
Signed-off-by: Tim Retout <diocles@gnu.org>
Diffstat:
M ChangeLog | 3 +++
M states/hl/mail.st | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/ChangeLog b/ChangeLog
@@ -1,5 +1,8 @@
2011-07-10 Tim Retout <diocles@gnu.org>
+ * states/hl/mail.st: Support extended mail headers.
+ Savannah bug #25440.
+
* src/main.c (usage): Clarify documentation for short forms of
optional arguments.
(DIR) diff --git a/states/hl/mail.st b/states/hl/mail.st
@@ -27,7 +27,7 @@ state mail_header extends Highlight
END {
comment_face (true);
}
- /:/ {
+ /[ \t:]/ {
language_print ($0);
return;
}