Archived
1
0
Fork 0

gnu: emacs-org-pomodoro: Improve package style.

* gnu/packages/emacs-xyz.scm (emacs-org-pomodoro)[arguments]: Use
G-expressions.  Remove trailing #T.
This commit is contained in:
Nicolas Goaziou 2022-02-18 21:31:00 +01:00
parent 5f8e89b702
commit 256cdde7ad
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -8008,28 +8008,28 @@ save, it exports back to the original non-Org file.")
(propagated-inputs (propagated-inputs
(list emacs-alert)) (list emacs-alert))
(arguments (arguments
`(#:include (cons "^resources\\/" %default-include) (list
#:tests? #t #:include #~(cons "^resources\\/" %default-include)
#:test-command '("emacs" "--batch" #:tests? #t
"-l" "org-pomodoro-tests.el" #:test-command
"-f" "ert-run-tests-batch-and-exit") (list
#:phases "emacs" "--batch"
(modify-phases %standard-phases "-l" "org-pomodoro-tests.el"
(add-before 'check 'make-tests-writable "-f" "ert-run-tests-batch-and-exit")
(lambda _ #:phases
(make-file-writable "org-pomodoro-tests.el") #~(modify-phases %standard-phases
#t)) (add-before 'check 'make-tests-writable
(add-before 'check 'add-require (lambda _
(lambda _ (make-file-writable "org-pomodoro-tests.el")))
(emacs-batch-edit-file "org-pomodoro-tests.el" (add-before 'check 'add-require
`(progn (progn (goto-char (point-min)) (lambda _
(re-search-forward (emacs-batch-edit-file "org-pomodoro-tests.el"
"ert-deftest") `(progn (progn (goto-char (point-min))
(beginning-of-line) (re-search-forward "ert-deftest")
(forward-line -1) (beginning-of-line)
(insert "(require 'org-pomodoro)")) (forward-line -1)
(basic-save-buffer))) (insert "(require 'org-pomodoro)"))
#t))))) (basic-save-buffer))))))))
(home-page "https://github.com/marcinkoziej/org-pomodoro") (home-page "https://github.com/marcinkoziej/org-pomodoro")
(synopsis "Pomodoro technique for org-mode") (synopsis "Pomodoro technique for org-mode")
(description "@code{emacs-org-pomodoro} adds very basic support for (description "@code{emacs-org-pomodoro} adds very basic support for