mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
* lisp/vc/diff-mode.el (diff-syntax-fontify-props): Check both buffer-local
and default value of find-file-hook.
This commit is contained in:
parent
a038df77de
commit
0667c73708
1 changed files with 2 additions and 1 deletions
|
|
@ -2529,7 +2529,8 @@ hunk text is not found in the source file."
|
|||
(let ((enable-local-variables :safe) ;; to find `mode:'
|
||||
(buffer-file-name file))
|
||||
(set-auto-mode)
|
||||
(when (and (memq 'generic-mode-find-file-hook find-file-hook)
|
||||
(when (and (memq 'generic-mode-find-file-hook
|
||||
(append find-file-hook (default-value 'find-file-hook)))
|
||||
(fboundp 'generic-mode-find-file-hook))
|
||||
(generic-mode-find-file-hook))))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue