guix: Let Emacs detect “scripts/guix.in” appropriate mode.

Since commit 6f774d4818 which introduces the use
of Guile's meta switch in “scripts/guix.in”, Emacs was not using ‘scheme-mode’
for this file.

* scripts/guix.in: Replace "-*- scheme -*-" with a local variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Mathieu Lirzin 2018-01-24 12:29:17 +01:00 committed by Ludovic Courtès
parent a1f531273c
commit 63666a348a
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,5 @@
#!@GUILE@ \ #!@GUILE@ \
--no-auto-compile -e main -s --no-auto-compile -e main -s
-*- scheme -*-
!# !#
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2013 Mark H Weaver <mhw@netris.org>
@ -57,3 +56,7 @@
;; but since the 'guix' command is not updated by 'guix pull', we cannot ;; but since the 'guix' command is not updated by 'guix pull', we cannot
;; really do it now. ;; really do it now.
(apply guix-main args))) (apply guix-main args)))
;;; Local Variables:
;;; mode: scheme
;;; End: