From a90f2176f02789b1e68b93710ee5e4d3e4563afa Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 25 Apr 2025 16:35:04 -0400 Subject: [PATCH] lisp/auth-source.el (authinfo--keywords): Avoid obsolete font-lock face vars (cherry picked from commit 48940a5d485649bfd6840ddaaf91c17fbe90dbc0) --- lisp/auth-source.el | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lisp/auth-source.el b/lisp/auth-source.el index e8b4d5d3b8c..3e5256a3f3a 100644 --- a/lisp/auth-source.el +++ b/lisp/auth-source.el @@ -2395,21 +2395,21 @@ See `auth-source-search' for details on SPEC." :version "28.1") (defvar authinfo--keywords - '(("^#.*" . font-lock-comment-face) + '(("^#.*" (0 'font-lock-comment-face)) ("^\\(machine\\)[ \t]+\\([^ \t\n]+\\)" - (1 font-lock-variable-name-face) - (2 font-lock-builtin-face)) + (1 'font-lock-variable-name-face) + (2 'font-lock-builtin-face)) ("\\(login\\)[ \t]+\\([^ \t\n]+\\)" - (1 font-lock-comment-delimiter-face) - (2 font-lock-keyword-face)) + (1 'font-lock-comment-delimiter-face) + (2 'font-lock-keyword-face)) ("\\(password\\)[ \t]+\\([^ \t\n]+\\)" - (1 font-lock-comment-delimiter-face) - (2 font-lock-doc-face)) + (1 'font-lock-comment-delimiter-face) + (2 'font-lock-doc-face)) ("\\(port\\)[ \t]+\\([^ \t\n]+\\)" - (1 font-lock-comment-delimiter-face) - (2 font-lock-type-face)) + (1 'font-lock-comment-delimiter-face) + (2 'font-lock-type-face)) ("\\([^ \t\n]+\\)[, \t]+\\([^ \t\n]+\\)" - (1 font-lock-constant-face) + (1 'font-lock-constant-face) (2 nil)))) ;;;###autoload -- 2.39.5