From 7098bf91c0627bf40f78b079ef270094d34a1037 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Tue, 10 Jul 2001 12:55:21 +0000 Subject: [PATCH] * message.el (message-font-lock-keywords-2): Move definitions for cited texts and mml tags to `message-font-lock-keywords-1'. --- ChangeLog | 5 +++++ lisp/message.el | 16 +++++++++------- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5832a89..dc6bbf6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-07-10 Katsumi Yamaoka + + * lisp/message.el (message-font-lock-keywords-2): Move definitions + for cited texts and mml tags to `message-font-lock-keywords-1'. + 2001-07-10 Katsuhiro Hermit Endo * texi/gnus-ja.texi (Mail Group Commands): Fix a slight mistake. diff --git a/lisp/message.el b/lisp/message.el index f7b7f43..7e871b9 100644 --- a/lisp/message.el +++ b/lisp/message.el @@ -1244,20 +1244,22 @@ See also the documentations for the following variables: (not (equal mail-header-separator ""))) `((,(concat "^\\(" (regexp-quote mail-header-separator) "\\)$") 1 'message-separator-face)) - nil)))) + nil) + (,(concat "^\\(" message-cite-prefix-regexp "\\).*") + (0 'message-cited-text-face)) + ("<#/?\\(multipart\\|part\\|external\\|mml\\).*>" + (0 'message-mml-face)))) + "Additional expressions to highlight in Message mode.") (defvar message-font-lock-keywords-2 (append message-font-lock-keywords-1 `((message-font-lock-cited-text-matcher (1 'message-cited-text-face) - (2 'message-cited-text-face)) - (,(concat "^\\(" message-cite-prefix-regexp "\\).*") - (0 'message-cited-text-face)) - ("<#/?\\(multipart\\|part\\|external\\|mml\\).*>" - (0 'message-mml-face))))) + (2 'message-cited-text-face)))) + "Auxiliary expressions to highlight in Message mode.") (defvar message-font-lock-keywords message-font-lock-keywords-2 - "Additional expressions to highlight in Message mode.") + "Default expressions to highlight in Message mode.") ;; XEmacs does it like this. For Emacs, we have to set the ;; `font-lock-defaults' buffer-local variable. -- 1.7.10.4