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
3a1d7227
Commit
3a1d7227
authored
Dec 19, 2018
by
Juri Linkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/vc/diff-mode.el (diff-syntax-fontify-props): Use font-lock-ensure
unconditionally. (Bug#33798)
parent
5bd60744
Pipeline
#335
failed with stage
in 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
lisp/vc/diff-mode.el
lisp/vc/diff-mode.el
+1
-8
No files found.
lisp/vc/diff-mode.el
View file @
3a1d7227
...
...
@@ -2525,14 +2525,7 @@ hunk text is not found in the source file."
(
when
(
and
beg
end
)
(
goto-char
beg
)
(
if
file
;; In a temporary or cached buffer
(
when
(
text-property-not-all
beg
end
'fontified
t
)
(
save-excursion
(
font-lock-fontify-region
beg
end
)
(
put-text-property
beg
end
'fontified
t
)))
;; In an existing buffer
(
font-lock-ensure
beg
end
))
(
font-lock-ensure
beg
end
)
(
while
(
<
(
point
)
end
)
(
let*
((
bol
(
point
))
...
...
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