guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 0e5a34097fb845397ba6d8655fca18d5aca6cad6
Author: Zhu Zihao <[email protected]>
AuthorDate: Fri Jul 18 22:06:49 2025 +0800

    gnu: emacs-yasnippet: Use G-expression.
    
    * gnu/packages/emacs-xyz.scm (emacs-yasnippet)[arguments]: Use G-expression.
    
    Change-Id: I9422e5a9ded7d4604bbc4afa23f2536418a496a8
    Signed-off-by: Hilton Chain <[email protected]>
---
 gnu/packages/emacs-xyz.scm | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 6a656be40b..63ca0a73a7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -81,7 +81,7 @@
 ;;; Copyright © 2020, 2021, 2022 Niklas Eklund <[email protected]>
 ;;; Copyright © 2020 Marco Grassi <[email protected]>
 ;;; Copyright © 2020 Tomás Ortín Fernández <[email protected]>
-;;; Copyright © 2020-2022 Zhu Zihao <[email protected]>
+;;; Copyright © 2020-2022, 2025 Zhu Zihao <[email protected]>
 ;;; Copyright © 2020 Adam Kandur <[email protected]>
 ;;; Copyright © 2020 Tim Howes <[email protected]>
 ;;; Copyright © 2020 Noah Landis <[email protected]>
@@ -21104,19 +21104,21 @@ the Emacs TempEl package.")
           (search-patches "emacs-yasnippet-fix-empty-snippet-next.patch"))))
       (build-system emacs-build-system)
       (arguments
-       `(#:test-command
-         '("emacs" "--batch"
+       (list
+        #:test-command
+        #~(list
+           "emacs" "--batch"
            "-l" "yasnippet-tests.el"
            ;; XXX: one test is broken…
            "--eval"
            "(ert-run-tests-batch-and-exit
              '(not yas-org-native-tab-in-source-block-emacs-lisp))")
-         #:phases
-         (modify-phases %standard-phases
-           ;; Set HOME, otherwise test-rebindings fails.
-           (add-before 'check 'set-home
-             (lambda _
-               (setenv "HOME" (getcwd)))))))
+        #:phases
+        #~(modify-phases %standard-phases
+            ;; Set HOME, otherwise test-rebindings fails.
+            (add-before 'check 'set-home
+              (lambda _
+                (setenv "HOME" (getcwd)))))))
       (home-page "https://github.com/joaotavora/yasnippet";)
       (synopsis "Yet another snippet extension for Emacs")
       (description "YASnippet is a template system for Emacs.  It allows you to

Reply via email to