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

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

[nongnu] elpa/d-mode 23d7a1a 148/346: tests: Fix testing compilation-mod


From: ELPA Syncer
Subject: [nongnu] elpa/d-mode 23d7a1a 148/346: tests: Fix testing compilation-mode buffers with Emacs 26
Date: Sun, 29 Aug 2021 11:00:19 -0400 (EDT)

branch: elpa/d-mode
commit 23d7a1a60d48e9622bb31a04e1ab83f7cfc9e240
Author: Vladimir Panteleev <git@thecybershadow.net>
Commit: Vladimir Panteleev <git@thecybershadow.net>

    tests: Fix testing compilation-mode buffers with Emacs 26
    
    Starting with Emacs commit 4a80c8bb276de0fdb1f9ddb8f1c1cf7d57d30918,
    Emacs seems to fail to parse the simple -*-mode-name-*- syntax. Although
    this might be an Emacs bug, keeping the tests working is still important
    to catch new bugs elsewhere.
---
 tests/I0069.txt | 2 +-
 tests/I0072.txt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/I0069.txt b/tests/I0069.txt
index 1ecb81f..1ed799b 100644
--- a/tests/I0069.txt
+++ b/tests/I0069.txt
@@ -1,4 +1,4 @@
--*-compilation-*-
+-*- mode: compilation -*-
 
 // #run: (d-test-get-compilation-lines)
 // #out: (6 7 9 10)
diff --git a/tests/I0072.txt b/tests/I0072.txt
index b3a3c03..1d77da6 100644
--- a/tests/I0072.txt
+++ b/tests/I0072.txt
@@ -1,4 +1,4 @@
--*-compilation-*-
+-*- mode: compilation  -*-
 
 // #run: (d-test-get-compilation-lines)
 // #out: (7)



reply via email to

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