branch: elpa/d-mode
commit 23d7a1a60d48e9622bb31a04e1ab83f7cfc9e240
Author: Vladimir Panteleev <[email protected]>
Commit: Vladimir Panteleev <[email protected]>

    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