1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

lisp/auth-source.el (authinfo--keywords): Avoid obsolete font-lock face vars

This commit is contained in:
Stefan Monnier 2025-04-25 16:35:04 -04:00
parent 648453c04d
commit 48940a5d48

View file

@ -2395,21 +2395,21 @@ See `auth-source-search' for details on SPEC."
:version "28.1") :version "28.1")
(defvar authinfo--keywords (defvar authinfo--keywords
'(("^#.*" . font-lock-comment-face) '(("^#.*" (0 'font-lock-comment-face))
("^\\(machine\\)[ \t]+\\([^ \t\n]+\\)" ("^\\(machine\\)[ \t]+\\([^ \t\n]+\\)"
(1 font-lock-variable-name-face) (1 'font-lock-variable-name-face)
(2 font-lock-builtin-face)) (2 'font-lock-builtin-face))
("\\(login\\)[ \t]+\\([^ \t\n]+\\)" ("\\(login\\)[ \t]+\\([^ \t\n]+\\)"
(1 font-lock-comment-delimiter-face) (1 'font-lock-comment-delimiter-face)
(2 font-lock-keyword-face)) (2 'font-lock-keyword-face))
("\\(password\\)[ \t]+\\([^ \t\n]+\\)" ("\\(password\\)[ \t]+\\([^ \t\n]+\\)"
(1 font-lock-comment-delimiter-face) (1 'font-lock-comment-delimiter-face)
(2 font-lock-doc-face)) (2 'font-lock-doc-face))
("\\(port\\)[ \t]+\\([^ \t\n]+\\)" ("\\(port\\)[ \t]+\\([^ \t\n]+\\)"
(1 font-lock-comment-delimiter-face) (1 'font-lock-comment-delimiter-face)
(2 font-lock-type-face)) (2 'font-lock-type-face))
("\\([^ \t\n]+\\)[, \t]+\\([^ \t\n]+\\)" ("\\([^ \t\n]+\\)[, \t]+\\([^ \t\n]+\\)"
(1 font-lock-constant-face) (1 'font-lock-constant-face)
(2 nil)))) (2 nil))))
;;;###autoload ;;;###autoload