emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 0b855e1465b 1/4: (rmail-font-lock-keywords): Avoid old-style `fon


From: Stefan Monnier
Subject: master 0b855e1465b 1/4: (rmail-font-lock-keywords): Avoid old-style `font-lock*-face` variables
Date: Fri, 23 Feb 2024 11:39:37 -0500 (EST)

branch: master
commit 0b855e1465b26f69156a35befebb4167145cdccf
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    (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.
---
 lisp/mail/rmail.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]