summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhu Zihao <all_but_last@163.com>2025-07-18 22:06:49 +0800
committerHilton Chain <hako@ultrarare.space>2025-07-24 15:42:44 +0800
commit0e5a34097fb845397ba6d8655fca18d5aca6cad6 (patch)
tree1d313f1b4fc76e3280853894bce8e7097fd9d0d1
parentee41d499f8f2cbf83632737bdd8be21d4902b5fb (diff)
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 <hako@ultrarare.space>
-rw-r--r--gnu/packages/emacs-xyz.scm20
1 files 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 <niklas.eklund@posteo.net>
;;; Copyright © 2020 Marco Grassi <marco.au.grassi98@protonmail.com>
;;; Copyright © 2020 Tomás Ortín Fernández <tomasortin@mailbox.org>
-;;; Copyright © 2020-2022 Zhu Zihao <all_but_last@163.com>
+;;; Copyright © 2020-2022, 2025 Zhu Zihao <all_but_last@163.com>
;;; Copyright © 2020 Adam Kandur <rndd@tuta.io>
;;; Copyright © 2020 Tim Howes <timhowes@lavabit.com>
;;; Copyright © 2020 Noah Landis <noahlandis@posteo.net>
@@ -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