From: Richard M. Stallman Date: Tue, 9 May 1995 04:09:15 +0000 (+0000) Subject: (mail-font-lock-keywords): Make mail-header-separator into a regexp. X-Git-Tag: emacs-19.34~4088 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bcf40dfd633b242ddfdca94d84bb85a1cfc1f4a1;p=emacs.git (mail-font-lock-keywords): Make mail-header-separator into a regexp. --- 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))