* lisp/generic-x.el (etc-passwd-generic-mode): Support backups of passwd,

group and shadow /etc files.  (Bug#34225)
This commit is contained in:
Juri Linkov 2019-01-28 22:18:20 +02:00
parent 9d8f900d93
commit 599eee3ebe

View file

@ -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 ()