diff options
| author | Richard M. Stallman | 1994-07-30 02:46:24 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-07-30 02:46:24 +0000 |
| commit | 3df6812aab8772d08397c87f1d4788cf05e26534 (patch) | |
| tree | f204c9061d9326e98d6cae82415939cc7f3ee0f9 | |
| parent | 4cbcfa9c18220d3c34d4f67d5105ef3125bfec20 (diff) | |
| download | emacs-3df6812aab8772d08397c87f1d4788cf05e26534.tar.gz emacs-3df6812aab8772d08397c87f1d4788cf05e26534.zip | |
(rmail-highlighted-face): New variable.
(rmail-highlight-headers): Use it if non-nil.
| -rw-r--r-- | lisp/mail/rmail.el | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 509d3d0f05e..cf3ddac3e85 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -68,14 +68,18 @@ It is useful to set this variable in the site customization file.") | |||
| 68 | 68 | ||
| 69 | ;;;###autoload | 69 | ;;;###autoload |
| 70 | (defvar rmail-ignored-headers "^via:\\|^mail-from:\\|^origin:\\|^status:\\|^received:\\|^x400-originator:\\|^x400-recipients:\\|^x400-received:\\|^x400-mts-identifier:\\|^x400-content-type:\\|^message-id:\\|^summary-line:" "\ | 70 | (defvar rmail-ignored-headers "^via:\\|^mail-from:\\|^origin:\\|^status:\\|^received:\\|^x400-originator:\\|^x400-recipients:\\|^x400-received:\\|^x400-mts-identifier:\\|^x400-content-type:\\|^message-id:\\|^summary-line:" "\ |
| 71 | *Regexp to match Header fields that rmail should normally hide.") | 71 | *Regexp to match Header fields that Rmail should normally hide.") |
| 72 | 72 | ||
| 73 | ;;;###autoload | 73 | ;;;###autoload |
| 74 | (defvar rmail-highlighted-headers "^From:\\|^Subject:" "\ | 74 | (defvar rmail-highlighted-headers "^From:\\|^Subject:" "\ |
| 75 | *Regexp to match Header fields that rmail should normally highlight. | 75 | *Regexp to match Header fields that Rmail should normally highlight. |
| 76 | A value of nil means don't highlight.") | 76 | A value of nil means don't highlight.") |
| 77 | 77 | ||
| 78 | ;;;###autoload | 78 | ;;;###autoload |
| 79 | (defvar rmail-highlight-face nil "\ | ||
| 80 | *Face used by Rmail for highlighting headers.") | ||
| 81 | |||
| 82 | ;;;###autoload | ||
| 79 | (defvar rmail-delete-after-output nil "\ | 83 | (defvar rmail-delete-after-output nil "\ |
| 80 | *Non-nil means automatically delete a message that is copied to a file.") | 84 | *Non-nil means automatically delete a message that is copied to a file.") |
| 81 | 85 | ||
| @@ -1428,8 +1432,9 @@ If summary buffer is currently displayed, update current message there also." | |||
| 1428 | (inhibit-read-only t) | 1432 | (inhibit-read-only t) |
| 1429 | ;; Highlight with boldface if that is available. | 1433 | ;; Highlight with boldface if that is available. |
| 1430 | ;; Otherwise use the `highlight' face. | 1434 | ;; Otherwise use the `highlight' face. |
| 1431 | (face (if (face-differs-from-default-p 'bold) | 1435 | (face (or rmail-highlight-face |
| 1432 | 'bold 'highlight)) | 1436 | (if (face-differs-from-default-p 'bold) |
| 1437 | 'bold 'highlight))) | ||
| 1433 | ;; List of overlays to reuse. | 1438 | ;; List of overlays to reuse. |
| 1434 | (overlays rmail-overlay-list)) | 1439 | (overlays rmail-overlay-list)) |
| 1435 | (goto-char (point-min)) | 1440 | (goto-char (point-min)) |