]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/generic-x.el (etc-passwd-generic-mode): Support backups of passwd,
authorJuri Linkov <juri@linkov.net>
Mon, 28 Jan 2019 20:18:20 +0000 (22:18 +0200)
committerJuri Linkov <juri@linkov.net>
Mon, 28 Jan 2019 20:18:20 +0000 (22:18 +0200)
group and shadow /etc files.  (Bug#34225)

lisp/generic-x.el

index 014379fba949047e934cc69ad59408545f928430..dd614020153ed11d3892482238a4da96ec161282 100644 (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 ()