guix-commits
[Top][All Lists]
Advanced

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

03/07: build: test-driver.scm: Set mode.


From: guix-commits
Subject: 03/07: build: test-driver.scm: Set mode.
Date: Fri, 5 Jan 2024 00:40:43 -0500 (EST)

apteryx pushed a commit to branch master
in repository guix.

commit 6702118c94d05f8410e89781f661e1fd3858b365
Author: Tomas Volf <~@wolfsden.cz>
AuthorDate: Fri Dec 8 16:09:49 2023 +0100

    build: test-driver.scm: Set mode.
    
    Emacs auto-detects the build-aux/test-driver.scm as sh-mode, due to the
    shebang.  So override the auto-detection using a local variable forcing
    scheme-mode.
    
    * build-aux/test-driver.scm: Set mode to scheme.
    
    Change-Id: I07f12656dba5fb7b52447b94569307a2a605ffc1
    Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
 build-aux/test-driver.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/build-aux/test-driver.scm b/build-aux/test-driver.scm
index 1cdd4ff8f7..901f6ab9ec 100755
--- a/build-aux/test-driver.scm
+++ b/build-aux/test-driver.scm
@@ -3,7 +3,7 @@ exec guile --no-auto-compile -e main -s "$0" "$@"
 !#
 ;;;; test-driver.scm - Guile test driver for Automake testsuite harness
 
-(define script-version "2021-02-02.05") ;UTC
+(define script-version "2023-12-08.14") ;UTC
 
 ;;; Copyright © 2015, 2016 Mathieu Lirzin <mthl@gnu.org>
 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
@@ -274,6 +274,7 @@ cases based on their names."
     (exit 0)))
 
 ;;; Local Variables:
+;;; mode: scheme
 ;;; eval: (add-hook 'write-file-functions 'time-stamp)
 ;;; time-stamp-start: "(define script-version \""
 ;;; time-stamp-format: "%:y-%02m-%02d.%02H"



reply via email to

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