From: Stefan Monnier Date: Fri, 23 Feb 2024 16:31:43 +0000 (-0500) Subject: (rmail-font-lock-keywords): Avoid old-style `font-lock*-face` variables X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b5d3f42f9832c7e8192371392ac507b5a15856d5;p=emacs.git (rmail-font-lock-keywords): Avoid old-style `font-lock*-face` variables * lisp/mail/rmail.el (rmail-font-lock-keywords): Refer directly to the font-lock faces. (cherry picked from commit 0b855e1465b26f69156a35befebb4167145cdccf) --- diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 6f343c23bbe..7ebfff3d7af 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -805,8 +805,8 @@ that knows the exact ordering of the \\( \\) subexpressions.") "\\(" cite-chars "[ \t]*\\)\\)+\\)" "\\(.*\\)") (beginning-of-line) (end-of-line) - (1 font-lock-comment-delimiter-face nil t) - (5 font-lock-comment-face nil t))) + (1 'font-lock-comment-delimiter-face nil t) + (5 'font-lock-comment-face nil t))) '("^\\(X-[a-z0-9-]+\\|In-Reply-To\\|Date\\):.*\\(\n[ \t]+.*\\)*$" . 'rmail-header-name)))) "Additional expressions to highlight in Rmail mode.")