emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master da16ab0: Fix diff-mode tests after renaming diff-fo


From: Charles A. Roelli
Subject: [Emacs-diffs] master da16ab0: Fix diff-mode tests after renaming diff-font-lock-refine
Date: Mon, 4 Mar 2019 13:31:19 -0500 (EST)

branch: master
commit da16ab030159e31056bfdd80e8f2b726e10c854c
Author: Charles A. Roelli <address@hidden>
Commit: Charles A. Roelli <address@hidden>

    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 8695d95..676d461 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]