emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/kind-icon 3c61dbefb8 1/3: Require color


From: ELPA Syncer
Subject: [elpa] externals/kind-icon 3c61dbefb8 1/3: Require color
Date: Sat, 26 Mar 2022 20:57:43 -0400 (EDT)

branch: externals/kind-icon
commit 3c61dbefb816191c6456a2b676ff9d4331bebc7e
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>

    Require color
---
 kind-icon.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/kind-icon.el b/kind-icon.el
index 4e68c5e0fa..d53af35e82 100644
--- a/kind-icon.el
+++ b/kind-icon.el
@@ -58,6 +58,7 @@
 (eval-when-compile
   (require 'subr-x))
 (require 'svg-lib nil 'noerror)
+(require 'color)
 
 (defvar kind-icon--cache nil
   "The cache of styled and padded label (text or icon).  
@@ -204,8 +205,6 @@ Uses svg-lib, guarding against non-availability or network 
errors."
   "Return a fractional blend between two colors RGB1 and RGB2.
 Each is a 3 element list.  The fractional blend point is the
 float FRAC."
-  ;; FIXME: `color-rgb-to-hex' won't be (auto)loaded if `svg-lib' is
-  ;; not installed.
   (apply #'color-rgb-to-hex
         (cl-mapcar (lambda (a b)
                      (+ (* a frac) (* b (- 1.0 frac))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]