diff options
author | Juri Linkov <juri@linkov.net> | 2019-01-28 22:18:20 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2019-01-28 22:18:20 +0200 |
commit | 599eee3ebefa4e1c7c6610e5629090ad7ad5159b (patch) | |
tree | 8ebcbc1f7c5d38cb92155856146484d42b6850d0 /lisp/generic-x.el | |
parent | 9d8f900d93c196cd1048cdbad12e08da7a38a604 (diff) | |
download | emacs-599eee3ebefa4e1c7c6610e5629090ad7ad5159b.tar.gz |
* lisp/generic-x.el (etc-passwd-generic-mode): Support backups of passwd,
group and shadow /etc files. (Bug#34225)
Diffstat (limited to 'lisp/generic-x.el')
-rw-r--r-- | lisp/generic-x.el | 2 |
1 files changed, 1 insertions, 1 deletions
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 () |