emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 599eee3: * lisp/generic-x.el (etc-passwd-generic-mo


From: Juri Linkov
Subject: [Emacs-diffs] master 599eee3: * lisp/generic-x.el (etc-passwd-generic-mode): Support backups of passwd,
Date: Mon, 28 Jan 2019 15:19:16 -0500 (EST)

branch: master
commit 599eee3ebefa4e1c7c6610e5629090ad7ad5159b
Author: Juri Linkov <address@hidden>
Commit: Juri Linkov <address@hidden>

    * 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 014379f..dd61402 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 ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]