summaryrefslogtreecommitdiff
path: root/lisp/generic-x.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/generic-x.el')
-rw-r--r--lisp/generic-x.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/generic-x.el b/lisp/generic-x.el
index dd614020153..47dfd2822d4 100644
--- a/lisp/generic-x.el
+++ b/lisp/generic-x.el
@@ -1490,6 +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- is a backup file for /etc/passwd, so is group- and shadow-
'("/etc/passwd-?\\'" "/etc/group-?\\'" "/etc/shadow-?\\'")
(list
(function