]> git.eshelyaron.com Git - emacs.git/commitdiff
(rmail-font-lock-keywords): Avoid old-style `font-lock*-face` variables
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 23 Feb 2024 16:31:43 +0000 (11:31 -0500)
committerEshel Yaron <me@eshelyaron.com>
Wed, 28 Feb 2024 17:49:53 +0000 (18:49 +0100)
* lisp/mail/rmail.el (rmail-font-lock-keywords): Refer directly to the
font-lock faces.

(cherry picked from commit 0b855e1465b26f69156a35befebb4167145cdccf)

lisp/mail/rmail.el

index 6f343c23bbe535e1da5a248bed5fe9a9112d7cec..7ebfff3d7afca21ccbc5d0131ef2f313e95b7caa 100644 (file)
@@ -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.")