From da16ab030159e31056bfdd80e8f2b726e10c854c Mon Sep 17 00:00:00 2001 From: "Charles A. Roelli" Date: Mon, 4 Mar 2019 19:43:25 +0100 Subject: [PATCH] Fix diff-mode tests after renaming diff-font-lock-refine This fixes tests broken in my last change, "Merge diff-font-lock-refine and diff-auto-refine-mode into diff-refine" from 2019-02-24. * test/lisp/vc/diff-mode-tests.el (diff-mode-test-font-lock): Bind diff-refine to symbol 'font-lock' instead of binding diff-font-lock-refine to t. (diff-mode-test-font-lock-syntax-one-line): Bind diff-refine to nil instead of binding diff-font-lock-refine to nil. --- test/lisp/vc/diff-mode-tests.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/lisp/vc/diff-mode-tests.el b/test/lisp/vc/diff-mode-tests.el index 8695d958bac..676d461076b 100644 --- a/test/lisp/vc/diff-mode-tests.el +++ b/test/lisp/vc/diff-mode-tests.el @@ -210,7 +210,7 @@ youthfulness (old "hello_world.c") (new "hello_emacs.c") (diff-buffer (get-buffer-create "*Diff*")) - (diff-font-lock-refine t) + (diff-refine 'font-lock) (diff-font-lock-syntax t) diff-beg) (diff-no-select old new '("-u") 'no-async diff-buffer) @@ -271,7 +271,7 @@ youthfulness (old "hello_world_1.c") (new "hello_emacs_1.c") (diff-buffer (get-buffer-create "*Diff*")) - (diff-font-lock-refine nil) + (diff-refine nil) (diff-font-lock-syntax t) diff-beg) (diff-no-select old new '("-u") 'no-async diff-buffer) -- 2.39.2