emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/csharp-mode 829ad4d 120/459: Another stab at fixing the


From: ELPA Syncer
Subject: [elpa] externals/csharp-mode 829ad4d 120/459: Another stab at fixing the CI.
Date: Sun, 22 Aug 2021 13:59:09 -0400 (EDT)

branch: externals/csharp-mode
commit 829ad4dc5a1d6ede1381bed8330421617636c433
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: Jostein Kjønigsen <jostein@kjonigsen.net>

    Another stab at fixing the CI.
---
 csharp-mode-tests.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/csharp-mode-tests.el b/csharp-mode-tests.el
index 8b6d75a..8602c0c 100644
--- a/csharp-mode-tests.el
+++ b/csharp-mode-tests.el
@@ -34,7 +34,8 @@
   (let* ((buffer (find-file-read-only "test-files/fontification-test.cs")))
     ;; double-ensure mode is active
     (csharp-mode)
-    (font-lock-fontify-buffer)
+    (if (fboundp 'font-lock-ensure)
+        (font-lock-ensure))
     (goto-char (point-min))
     (let* ((buffer1)
            (buffer2))
@@ -54,7 +55,8 @@
   (let* ((buffer (find-file-read-only 
"test-files/fontification-test-compiler-directives.cs")))
     ;; double-ensure mode is active
     (csharp-mode)
-    (font-lock-fontify-buffer)
+    (if (fboundp 'font-lock-ensure)
+        (font-lock-ensure))
     (goto-char (point-min))
     (let* ((reference)
            (v1)



reply via email to

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