diff options
| author | Stefan Monnier | 2019-02-21 12:09:03 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2019-02-21 12:09:03 -0500 |
| commit | 3432f5545c1a0c8149d489d1df8cf1d037dae2df (patch) | |
| tree | 4a55dddbc0d563afbc68e2ba7d92b6cebae3151d /test/data | |
| parent | fc78519b5e909d849ede63b537f58af8db53ceff (diff) | |
| download | emacs-3432f5545c1a0c8149d489d1df8cf1d037dae2df.tar.gz emacs-3432f5545c1a0c8149d489d1df8cf1d037dae2df.zip | |
* lisp/vc/diff-mode.el: Reduce redundancy in diff-syntax-fontify code
(diff--iterate-hunks): New function extracted from diff--font-lock-refined.
(diff--font-lock-refined, diff--font-lock-syntax): Use it.
(diff--overlay-auto-delete): Rename from diff--font-lock-refine--refresh.
(diff--font-lock-syntax--refresh): Delete.
(diff-syntax-fontify-hunk): Don't completely silence errors.
(diff-syntax-fontify-props): Remove `no-init` arg, testing if `file` is
nil instead. Adjust all callers.
(diff-syntax-fontify-props): Remove redundant code since we don't
modify the buffer.
Diffstat (limited to 'test/data')
0 files changed, 0 insertions, 0 deletions