branch: elpa/htmlize
commit c0bea5b5c7b718475a86e7d24c8aadc71a5f723c
Author: Hrvoje Niksic <[email protected]>
Commit: Hrvoje Niksic <[email protected]>

    Don't use the old name x-color-values.
---
 htmlize.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htmlize.el b/htmlize.el
index df5d8d5..c514c73 100644
--- a/htmlize.el
+++ b/htmlize.el
@@ -751,7 +751,7 @@ If no rgb.txt file is found, return nil."
                               (make-color-instance color)))
                    (mapcar (lambda (arg)
                              (/ arg 256))
-                           (x-color-values color)))))
+                           (color-values color)))))
             (when rgb
               (setq rgb-string (apply #'format "#%02x%02x%02x" rgb))))))
     ;; If RGB-STRING is still nil, it means the color cannot be found,

Reply via email to