From 436d95d562ebdec4457a5c458b5bc6c757973d8b Mon Sep 17 00:00:00 2001 From: ueno Date: Fri, 30 May 2003 05:27:02 +0000 Subject: [PATCH] Fixed regexp. --- lisp/riece-highlight.el | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lisp/riece-highlight.el b/lisp/riece-highlight.el index 8360379..a9715ef 100644 --- a/lisp/riece-highlight.el +++ b/lisp/riece-highlight.el @@ -162,11 +162,9 @@ (defcustom riece-highlight-font-lock-keywords (append - (list - `(,(concat - "^" riece-time-prefix-regexp - "\\(<[^>]+>\\|>[^<]+<\\|-[^-]+-\\|([^)]+)\\|=[^=]+=\\)") - (1 riece-prefix-face append t))) + (list (list (concat "^" riece-time-prefix-regexp + "\\(<[^>]+>\\|>[^<]+<\\|([^)]+)\\|-[^ ]+ [^-]+-\\|=[^ ]+ [^=]+=\\|\\([+-]\\)[^ ]+\\2\\)") + '(1 riece-prefix-face append t))) ;; set property to the whole line (mapcar (lambda (line) -- 1.7.10.4