]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't eval-when-compile mail-font-lock-keywords, since it refers to mail-header-separ...
authorSimon Marshall <simon@gnu.org>
Thu, 26 Oct 1995 13:53:18 +0000 (13:53 +0000)
committerSimon Marshall <simon@gnu.org>
Thu, 26 Oct 1995 13:53:18 +0000 (13:53 +0000)
lisp/mail/sendmail.el

index a455e8d176dc8ded59caf633e16901bb5f9e0857..7427b37b2c674c3820086980087726c9df2b0446 100644 (file)
@@ -199,20 +199,19 @@ actually occur.")
      (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