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

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

[nongnu] elpa/htmlize c0bea5b 040/134: Don't use the old name x-color-va


From: ELPA Syncer
Subject: [nongnu] elpa/htmlize c0bea5b 040/134: Don't use the old name x-color-values.
Date: Sat, 7 Aug 2021 09:17:02 -0400 (EDT)

branch: elpa/htmlize
commit c0bea5b5c7b718475a86e7d24c8aadc71a5f723c
Author: Hrvoje Niksic <hniksic@gmail.com>
Commit: Hrvoje Niksic <hniksic@gmail.com>

    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

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