[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
30/38: gnu: emacs-org-inline-pdf: Improve package style.
From: |
guix-commits |
Subject: |
30/38: gnu: emacs-org-inline-pdf: Improve package style. |
Date: |
Sun, 21 May 2023 08:55:23 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit ea34c09bc21c23d1ec7596480183088da4ed7dc7
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun May 21 14:26:24 2023 +0200
gnu: emacs-org-inline-pdf: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-org-inline-pdf)[arguments]: Use
G-expressions. Use SEARCH-INPUT-FILE.
---
gnu/packages/emacs-xyz.scm | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 4f86cdc55a..d1809e8221 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -6884,13 +6884,14 @@ allrecipes.com.")
(inputs
(list pdf2svg))
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-exec-paths
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((pdf2svg (assoc-ref inputs "pdf2svg")))
- (substitute* "org-inline-pdf.el"
- (("\"pdf2svg\"") (string-append "\"" pdf2svg
"/bin/pdf2svg\"")))))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-exec-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((pdf2svg (search-input-file inputs "/bin/pdf2svg")))
+ (substitute* "org-inline-pdf.el"
+ (("\"pdf2svg\"") (string-append "\"" pdf2svg "\"")))))))))
(home-page "https://github.com/shg/org-inline-pdf.el")
(synopsis "Inline PDF previewing for Org")
(description "This package provides a minor mode that enables
- 08/38: gnu: emacs-ef-themes: Update to 1.0.0., (continued)
- 08/38: gnu: emacs-ef-themes: Update to 1.0.0., guix-commits, 2023/05/21
- 09/38: gnu: emacs-eldev: Update to 1.4., guix-commits, 2023/05/21
- 10/38: gnu: emacs-elfeed-score: Update to 1.2.6., guix-commits, 2023/05/21
- 17/38: gnu: git-modes: Update to 1.4.1., guix-commits, 2023/05/21
- 19/38: gnu: emacs-hl-todo: Update to 3.5.0., guix-commits, 2023/05/21
- 20/38: gnu: emacs-inspector: Update to 0.30., guix-commits, 2023/05/21
- 26/38: gnu: emacs-minions: Update to 1.0.0., guix-commits, 2023/05/21
- 29/38: gnu: emacs-org-inline-pdf: Update to 0.3., guix-commits, 2023/05/21
- 25/38: gnu: emacs-moody: Update to 1.0.0., guix-commits, 2023/05/21
- 28/38: gnu: emacs-ol-notmuch: Update to 2.0.1., guix-commits, 2023/05/21
- 30/38: gnu: emacs-org-inline-pdf: Improve package style.,
guix-commits <=
- 31/38: gnu: emacs-orgit: Update to 1.9.0., guix-commits, 2023/05/21
- 36/38: gnu: emacs-terraform-mode: Update to 1.0.1., guix-commits, 2023/05/21
- 21/38: gnu: emacs-julia-snail: Update to 1.2.2., guix-commits, 2023/05/21
- 23/38: gnu: emacs-logview: Update to 0.16.1., guix-commits, 2023/05/21
- 34/38: gnu: emacs-paren-face: Update to 1.1.0., guix-commits, 2023/05/21
- 35/38: gnu: emacs-solarized-theme: Update to 2.0.1., guix-commits, 2023/05/21
- 22/38: gnu: emacs-keycast: Update to 1.3.0., guix-commits, 2023/05/21
- 24/38: gnu: emacs-macrostep: Update to 0.9.2., guix-commits, 2023/05/21
- 27/38: gnu: emacs-no-littering: Update to 1.4.0., guix-commits, 2023/05/21
- 32/38: gnu: emacs-org: Update to 9.6.6., guix-commits, 2023/05/21