aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles A. Roelli2019-03-04 19:43:25 +0100
committerCharles A. Roelli2019-03-04 19:43:25 +0100
commitda16ab030159e31056bfdd80e8f2b726e10c854c (patch)
treec2743a71d08967c3661621258b5b7c233dafe6cc
parentf06405cbf8dde232f8cbe9564a42613dae3dfdc5 (diff)
downloademacs-da16ab030159e31056bfdd80e8f2b726e10c854c.tar.gz
emacs-da16ab030159e31056bfdd80e8f2b726e10c854c.zip
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.
-rw-r--r--test/lisp/vc/diff-mode-tests.el4
1 files 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
210 (old "hello_world.c") 210 (old "hello_world.c")
211 (new "hello_emacs.c") 211 (new "hello_emacs.c")
212 (diff-buffer (get-buffer-create "*Diff*")) 212 (diff-buffer (get-buffer-create "*Diff*"))
213 (diff-font-lock-refine t) 213 (diff-refine 'font-lock)
214 (diff-font-lock-syntax t) 214 (diff-font-lock-syntax t)
215 diff-beg) 215 diff-beg)
216 (diff-no-select old new '("-u") 'no-async diff-buffer) 216 (diff-no-select old new '("-u") 'no-async diff-buffer)
@@ -271,7 +271,7 @@ youthfulness
271 (old "hello_world_1.c") 271 (old "hello_world_1.c")
272 (new "hello_emacs_1.c") 272 (new "hello_emacs_1.c")
273 (diff-buffer (get-buffer-create "*Diff*")) 273 (diff-buffer (get-buffer-create "*Diff*"))
274 (diff-font-lock-refine nil) 274 (diff-refine nil)
275 (diff-font-lock-syntax t) 275 (diff-font-lock-syntax t)
276 diff-beg) 276 diff-beg)
277 (diff-no-select old new '("-u") 'no-async diff-buffer) 277 (diff-no-select old new '("-u") 'no-async diff-buffer)