From 599eee3ebefa4e1c7c6610e5629090ad7ad5159b Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Mon, 28 Jan 2019 22:18:20 +0200 Subject: [PATCH] * lisp/generic-x.el (etc-passwd-generic-mode): Support backups of passwd, group and shadow /etc files. (Bug#34225) --- lisp/generic-x.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/generic-x.el b/lisp/generic-x.el index 014379fba94..dd614020153 100644 --- a/lisp/generic-x.el +++ b/lisp/generic-x.el @@ -1490,7 +1490,7 @@ like an INI file. You can add this hook to `find-file-hook'." '("^\\([^:]+\\):\\([^:]*\\):\\([0-9]+\\):\\(.*\\)$" (1 font-lock-type-face) (4 font-lock-variable-name-face)))) - '("/etc/passwd\\'" "/etc/group\\'") + '("/etc/passwd-?\\'" "/etc/group-?\\'" "/etc/shadow-?\\'") (list (function (lambda () -- 2.39.5