Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
0667c737
Commit
0667c737
authored
Apr 08, 2019
by
Juri Linkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/vc/diff-mode.el (diff-syntax-fontify-props): Check both buffer-local
and default value of find-file-hook.
parent
a038df77
Pipeline
#1207
failed with stage
in 60 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lisp/vc/diff-mode.el
lisp/vc/diff-mode.el
+2
-1
No files found.
lisp/vc/diff-mode.el
View file @
0667c737
...
...
@@ -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
))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment