From bcf40dfd633b242ddfdca94d84bb85a1cfc1f4a1 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 9 May 1995 04:09:15 +0000 Subject: [PATCH] (mail-font-lock-keywords): Make mail-header-separator into a regexp. --- lisp/mail/sendmail.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index e93252f82b5..adb6512b3c2 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el @@ -193,7 +193,7 @@ actually occur.") '("^B?CC:\\|^Reply-To:" . font-lock-keyword-face) '("^Subject:" . font-lock-comment-face) '("^Subject:\\s *\\(.+\\)" 1 font-lock-type-face) - (list (concat "^\\(" mail-header-separator "\\)$") 1 + (list (concat "^\\(" (regexp-quote mail-header-separator) "\\)$") 1 'font-lock-comment-face) '("^[ \t]*\\sw*[>|}].*" . font-lock-reference-face) ; Citation. '("^\\(X-[A-Za-z0-9-]+\\|In-reply-to\\):.*" . font-lock-string-face)) -- 2.39.2