guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: emacs: Fix format strings for compatibility with Guile 3.


From: guix-commits
Subject: 02/02: gnu: emacs: Fix format strings for compatibility with Guile 3.
Date: Fri, 27 Mar 2020 12:26:47 -0400 (EDT)

mbakke pushed a commit to branch core-updates
in repository guix.

commit a3efa4f9eb11b8dc08ab154931ef2a2ef14c0ab7
Author: Marius Bakke <address@hidden>
AuthorDate: Fri Mar 27 15:24:02 2020 +0100

    gnu: emacs: Fix format strings for compatibility with Guile 3.
    
    * gnu/packages/emacs.scm (emacs)[arguments]: In the 
'patch-program-file-names'
    and 'install-site-start' phases, specify port in the calls to FORMAT.
---
 gnu/packages/emacs.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index fa420ca..0938dab 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -139,7 +139,7 @@
                             "lisp/textmodes/artist.el"
                             "lisp/progmodes/sh-script.el")
                (("\"/bin/sh\"")
-                (format "~s" (which "sh"))))
+                (format #f "~s" (which "sh"))))
              #t))
          (add-before 'configure 'fix-/bin/pwd
            (lambda _
@@ -163,7 +163,7 @@
                                (byte-recompile-directory
                                 (file-name-as-directory ,dir) 0 1))))
                    (invoke emacs "--quick" "--batch"
-                           (format "--eval=~s" expr))))
+                           (format #f "--eval=~s" expr))))
 
                (copy-file (assoc-ref inputs "guix-emacs.el")
                           (string-append lisp-dir "/guix-emacs.el"))



reply via email to

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