From: Juri Linkov Date: Mon, 28 Jan 2019 20:18:20 +0000 (+0200) Subject: * lisp/generic-x.el (etc-passwd-generic-mode): Support backups of passwd, X-Git-Tag: emacs-27.0.90~3717 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=599eee3ebefa4e1c7c6610e5629090ad7ad5159b;p=emacs.git * lisp/generic-x.el (etc-passwd-generic-mode): Support backups of passwd, group and shadow /etc files. (Bug#34225) --- 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 ()