diff options
| author | Richard M. Stallman | 2005-04-17 15:54:45 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-04-17 15:54:45 +0000 |
| commit | b795df2b32f8bb05e748b8694f48606b0ffe3f1c (patch) | |
| tree | d9ec497502251cf44bd3256f7fba73625634811e | |
| parent | 99ef737304f9976dd8f6955cbb689a26da5298bd (diff) | |
| download | emacs-b795df2b32f8bb05e748b8694f48606b0ffe3f1c.tar.gz emacs-b795df2b32f8bb05e748b8694f48606b0ffe3f1c.zip | |
(mail-font-lock-keywords): Don't fontify subject text.
Don't fontify the text of a citation.
| -rw-r--r-- | lisp/mail/sendmail.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index af1fca1b1da..fb2760b3bde 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el | |||
| @@ -366,7 +366,9 @@ actually occur.") | |||
| 366 | (list '("^\\(To\\|Newsgroups\\):" . font-lock-function-name-face) | 366 | (list '("^\\(To\\|Newsgroups\\):" . font-lock-function-name-face) |
| 367 | '("^\\(B?CC\\|Reply-to\\|Mail-\\(reply\\|followup\\)-to\\):" . font-lock-keyword-face) | 367 | '("^\\(B?CC\\|Reply-to\\|Mail-\\(reply\\|followup\\)-to\\):" . font-lock-keyword-face) |
| 368 | '("^\\(Subject:\\)[ \t]*\\(.+\\)?" | 368 | '("^\\(Subject:\\)[ \t]*\\(.+\\)?" |
| 369 | (1 font-lock-comment-face) (2 font-lock-type-face nil t)) | 369 | (1 font-lock-comment-face) |
| 370 | ;; (2 font-lock-type-face nil t) | ||
| 371 | ) | ||
| 370 | ;; Use EVAL to delay in case `mail-header-separator' gets changed. | 372 | ;; Use EVAL to delay in case `mail-header-separator' gets changed. |
| 371 | '(eval . | 373 | '(eval . |
| 372 | (let ((separator (if (zerop (length mail-header-separator)) | 374 | (let ((separator (if (zerop (length mail-header-separator)) |
| @@ -380,8 +382,7 @@ actually occur.") | |||
| 380 | "\\(" cite-chars "[ \t]*\\)\\)+" | 382 | "\\(" cite-chars "[ \t]*\\)\\)+" |
| 381 | "\\(.*\\)") | 383 | "\\(.*\\)") |
| 382 | (beginning-of-line) (end-of-line) | 384 | (beginning-of-line) (end-of-line) |
| 383 | (2 font-lock-constant-face nil t) | 385 | (3 font-lock-comment-face nil t))) |
| 384 | (4 font-lock-comment-face nil t))) | ||
| 385 | '("^\\(X-[A-Za-z0-9-]+\\|In-reply-to\\):.*\\(\n[ \t]+.*\\)*$" | 386 | '("^\\(X-[A-Za-z0-9-]+\\|In-reply-to\\):.*\\(\n[ \t]+.*\\)*$" |
| 386 | . font-lock-string-face)))) | 387 | . font-lock-string-face)))) |
| 387 | "Additional expressions to highlight in Mail mode.") | 388 | "Additional expressions to highlight in Mail mode.") |