branch: externals/kind-icon
commit 3c61dbefb816191c6456a2b676ff9d4331bebc7e
Author: JD Smith <[email protected]>
Commit: JD Smith <[email protected]>

    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