diff options
author | Juri Linkov <juri@linkov.net> | 2019-01-28 23:17:04 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2019-01-28 23:17:04 +0200 |
commit | 137b65a9b0a4118adda50f34375b4960701542e9 (patch) | |
tree | 16c27632bb169d08af5febb39c80df11d4fdb1cd /lisp/generic-x.el | |
parent | 020f6233721661059990a4239b94cd7b64396f03 (diff) | |
download | emacs-137b65a9b0a4118adda50f34375b4960701542e9.tar.gz emacs-137b65a9b0a4118adda50f34375b4960701542e9.tar.bz2 emacs-137b65a9b0a4118adda50f34375b4960701542e9.zip |
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.el | 1 |
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 |