]> git.eshelyaron.com Git - emacs.git/commitdiff
(mail-font-lock-keywords): Make mail-header-separator into a regexp.
authorRichard M. Stallman <rms@gnu.org>
Tue, 9 May 1995 04:09:15 +0000 (04:09 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 9 May 1995 04:09:15 +0000 (04:09 +0000)
lisp/mail/sendmail.el

index e93252f82b5f2d8babe858fb3ea240be1ae74ebc..adb6512b3c2a08f3781bc6c2590874a9b45df22f 100644 (file)
@@ -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))