]> git.eshelyaron.com Git - emacs.git/commit
* test/lisp/vc/diff-mode-tests.el (diff-mode-test-font-lock): New test.
authorJuri Linkov <juri@linkov.net>
Sat, 2 Feb 2019 21:23:16 +0000 (23:23 +0200)
committerJuri Linkov <juri@linkov.net>
Sat, 2 Feb 2019 21:23:16 +0000 (23:23 +0200)
commit42c8399059bb311c8cfaf9428f0a29032d71011d
treec6f6a6596fffe3339004294e63e309e4a57ab9c9
parentadc31c6bdcdb52c2bc0240982d3e8ce870af1fab
* test/lisp/vc/diff-mode-tests.el (diff-mode-test-font-lock): New test.

(diff-mode-test-font-lock-syntax-one-line): New test for one line.

* test/data/vc/diff-mode/hello_world.c:
* test/data/vc/diff-mode/hello_world_1.c:
* test/data/vc/diff-mode/hello_emacs.c:
* test/data/vc/diff-mode/hello_emacs_1.c: New fixtures.

* lisp/vc/diff-mode.el (diff-syntax-fontify): Move remove-overlays
from diff-syntax-fontify-hunk.  (Bug#33567)
(diff-syntax-fontify-hunk): Remove VISIT arg from insert-file-contents.
lisp/vc/diff-mode.el
test/data/vc/diff-mode/hello_emacs.c [new file with mode: 0644]
test/data/vc/diff-mode/hello_emacs_1.c [new file with mode: 0644]
test/data/vc/diff-mode/hello_world.c [new file with mode: 0644]
test/data/vc/diff-mode/hello_world_1.c [new file with mode: 0644]
test/lisp/vc/diff-mode-tests.el