[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/18: gnu: emacs-lispy: Improve package style.
From: |
guix-commits |
Subject: |
18/18: gnu: emacs-lispy: Improve package style. |
Date: |
Fri, 18 Feb 2022 15:34:29 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit 8e7b091c2918367a010c2bf3cfc004f267fce52e
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Fri Feb 18 21:32:51 2022 +0100
gnu: emacs-lispy: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-lispy)[arguments]: Use
G-expressions. Remove trailing #T.
---
gnu/packages/emacs-xyz.scm | 49 +++++++++++++++++++++++-----------------------
1 file changed, 24 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index ce01f65bfd..c5401624d9 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -9630,31 +9630,30 @@ navigate code in a tree-like fashion.")
(native-inputs
(list which emacs-clojure-mode emacs-undercover))
(arguments
- `(#:include (cons* "^lispy-clojure\\.clj$"
- "^lispy-python\\.py$"
- %default-include)
- #:phases
- ;; XXX: Some failing tests
- (modify-phases %standard-phases
- (add-before 'check 'make-test-writable
- (lambda _
- (make-file-writable "lispy-test.el")
- #t))
- (add-before 'check 'remove-failing-test
- (lambda _
- (emacs-batch-edit-file "lispy-test.el"
- `(progn
- (dolist (test '("lispy-eval-python-str"
"lispy--clojure-dot-object"))
- (goto-char (point-min))
- (re-search-forward
- (concat "ert-deftest " test))
- (beginning-of-line)
- (kill-sexp))
- (basic-save-buffer)))
- #t)))
- #:tests? #t
- ;; Set BEMACS to prevent the test suite from loading straight.el.
- #:test-command '("make" "test" "BEMACS=emacs -batch")))
+ (list
+ #:include #~(cons* "^lispy-clojure\\.clj$"
+ "^lispy-python\\.py$"
+ %default-include)
+ #:phases
+ ;; XXX: Some failing tests
+ #~(modify-phases %standard-phases
+ (add-before 'check 'make-test-writable
+ (lambda _
+ (make-file-writable "lispy-test.el")))
+ (add-before 'check 'remove-failing-test
+ (lambda _
+ (emacs-batch-edit-file "lispy-test.el"
+ `(progn
+ (dolist (test '("lispy-eval-python-str"
"lispy--clojure-dot-object"))
+ (goto-char (point-min))
+ (re-search-forward
+ (concat "ert-deftest " test))
+ (beginning-of-line)
+ (kill-sexp))
+ (basic-save-buffer))))))
+ #:tests? #t
+ ;; Set BEMACS to prevent the test suite from loading straight.el.
+ #:test-command #~(list "make" "test" "BEMACS=emacs -batch")))
(synopsis "Modal S-expression editing")
(description
"Due to the structure of Lisp syntax it's very rare for the programmer
- branch master updated (c724c8448e -> 8e7b091c29), guix-commits, 2022/02/18
- 06/18: gnu: emacs-go-mode: Improve package style., guix-commits, 2022/02/18
- 03/18: gnu: emacs-unpackaged-el: Improve package style., guix-commits, 2022/02/18
- 08/18: gnu: emacs-kbd: Improve package style., guix-commits, 2022/02/18
- 09/18: gnu: emacs-undo-fu-session: Improve package style., guix-commits, 2022/02/18
- 07/18: gnu: emacs-graphviz-dot-mode: Improve package style., guix-commits, 2022/02/18
- 15/18: gnu: emacs-org-pomodoro: Improve package style., guix-commits, 2022/02/18
- 18/18: gnu: emacs-lispy: Improve package style.,
guix-commits <=
- 01/18: gnu: emacs-geiser-racket: Improve package style., guix-commits, 2022/02/18
- 04/18: gnu: emacs-flycheck: Improve package style., guix-commits, 2022/02/18
- 02/18: gnu: emacs-graphql: Remove trailing #T., guix-commits, 2022/02/18
- 12/18: gnu: emacs-flycheck-ledger: Improve package style., guix-commits, 2022/02/18
- 05/18: gnu: emacs-relative-buffers: Remove trailing #T., guix-commits, 2022/02/18
- 13/18: gnu: emacs-sudo-edit: Improve package style., guix-commits, 2022/02/18
- 17/18: gnu: emacs-realgud: Improve package style., guix-commits, 2022/02/18
- 10/18: relative-buffer, guix-commits, 2022/02/18
- 14/18: gnu: emacs-mit-scheme-doc: Remove trailing #T., guix-commits, 2022/02/18
- 16/18: gnu: emacs-chess: Improve package style., guix-commits, 2022/02/18