]> git.eshelyaron.com Git - emacs.git/commit
diff-mode: Optimize source language syntax highlighting
authorDmitry Gutov <dmitry@gutov.dev>
Mon, 17 Jun 2024 19:51:23 +0000 (22:51 +0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 19 Jun 2024 08:42:05 +0000 (10:42 +0200)
commitf13368b0becb67cd8484c394acd992ff6d5642a8
tree6d453d968eea44187ceab5d8e4090e7a07eecb4c
parent47b43e3ad148b6a89c3afa49d6d77fd7db9cf314
diff-mode: Optimize source language syntax highlighting

* lisp/vc/diff-mode.el (diff--get-revision-properties):
Never pass FILE to 'diff-syntax-fontify-props'; assume that
'vc-find-revision-no-save' has called the major mode function
already (bug#71604).

(cherry picked from commit f7953a0eef4bf6505352c199a2f8ae8f3563fdfa)
lisp/vc/diff-mode.el