summaryrefslogtreecommitdiff
path: root/lisp/generic-x.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2019-01-28 23:17:04 +0200
committerJuri Linkov <juri@linkov.net>2019-01-28 23:17:04 +0200
commit137b65a9b0a4118adda50f34375b4960701542e9 (patch)
tree16c27632bb169d08af5febb39c80df11d4fdb1cd /lisp/generic-x.el
parent020f6233721661059990a4239b94cd7b64396f03 (diff)
downloademacs-137b65a9b0a4118adda50f34375b4960701542e9.tar.gz
Small fixes
* lisp/generic-x.el (etc-passwd-generic-mode): Add comment. (Bug#34225) * lisp/vc/diff-mode.el (diff-syntax-fontify-hunk): Set overlay property 'diff-mode to 'syntax. (Bug#33567) (diff-syntax-fontify-props): Reset buffer-file-name to nil.
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