summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorTom Willemse <tom@ryuslash.org>2024-01-30 22:28:32 -0800
committerAndrew Tropin <andrew@trop.in>2024-02-19 17:00:46 +0300
commit55c94d68df7b020cec961cefd4f53a134270f321 (patch)
tree0846112edca2d9e67b85d38e36850cb3ac366738 /gnu/packages
parenta35372cc0b9525b401c9a8b8c5eea6c3a83c9f4b (diff)
gnu: emacs-company: Include company icons and documentation images.
* gnu/packages/emacs-xyz.scm (emacs-company): Include icons and documentation images. Change-Id: I8b7515141fa71fcb4b199bfaa268ddd4ab117743 Signed-off-by: Andrew Tropin <andrew@trop.in>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/emacs-xyz.scm14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 472d5cc812..99b44d0459 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -9261,6 +9261,20 @@ commands and user options are usually not implemented here.")
(sha256
(base32 "0j2qrnx2w2al4f2n37b89q0pkabh5ccv00gsknvgaylhy0za5gq9"))))
(build-system emacs-build-system)
+ (arguments
+ (list
+ #:include #~(cons* "icons/" %default-include)
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'move-doc 'install-doc-images
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((images (find-files "./images/small/" ".*\\.png$")))
+ (for-each
+ (lambda (image)
+ (install-file
+ image
+ (string-append #$output "/share/info/images/small")))
+ images)))))))
(home-page "https://company-mode.github.io/")
(synopsis "Modular text completion framework")
(description