# HG changeset patch # User Simon Marshall # Date 814715598 0 # Node ID 3ac6db7496fd9ab54c05c0b6642dd2006fe01ff3 # Parent fa3108c53fc37e2478b96b46553e4d9447633900 Don't eval-when-compile mail-font-lock-keywords, since it refers to mail-header-separator. diff -r fa3108c53fc3 -r 3ac6db7496fd lisp/mail/sendmail.el --- a/lisp/mail/sendmail.el Thu Oct 26 13:48:35 1995 +0000 +++ b/lisp/mail/sendmail.el Thu Oct 26 13:53:18 1995 +0000 @@ -199,20 +199,19 @@ (modify-syntax-entry ?% ". " mail-mode-syntax-table))) (defvar mail-font-lock-keywords - (eval-when-compile - (let* ((cite-prefix "A-Za-z") (cite-suffix (concat cite-prefix "0-9_.@-"))) - (list '("^To:" . font-lock-function-name-face) - '("^B?CC:\\|^Reply-To:" . font-lock-keyword-face) - '("^\\(Subject:\\)[ \t]*\\(.+\\)?" - (1 font-lock-comment-face) (2 font-lock-type-face nil t)) - (list (concat "^\\(" (regexp-quote mail-header-separator) "\\)$") - 1 'font-lock-comment-face) - (cons (concat "^[ \t]*" - "\\([" cite-prefix "]+[" cite-suffix "]*\\)?" - "[>|}].*") - 'font-lock-reference-face) - '("^\\(X-[A-Za-z0-9-]+\\|In-reply-to\\):.*" - . font-lock-string-face)))) + (let* ((cite-prefix "A-Za-z") (cite-suffix (concat cite-prefix "0-9_.@-"))) + (list '("^To:" . font-lock-function-name-face) + '("^B?CC:\\|^Reply-To:" . font-lock-keyword-face) + '("^\\(Subject:\\)[ \t]*\\(.+\\)?" + (1 font-lock-comment-face) (2 font-lock-type-face nil t)) + (list (concat "^\\(" (regexp-quote mail-header-separator) "\\)$") + 1 'font-lock-comment-face) + (cons (concat "^[ \t]*" + "\\([" cite-prefix "]+[" cite-suffix "]*\\)?" + "[>|}].*") + 'font-lock-reference-face) + '("^\\(X-[A-Za-z0-9-]+\\|In-reply-to\\):.*" + . font-lock-string-face))) "Additional expressions to highlight in Mail mode.") (defvar mail-send-hook nil