emacs-diffs
[Top][All Lists]
Advanced

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

master 3c76397 3/7: Remove some compat code from htmlfontify.el


From: Lars Ingebrigtsen
Subject: master 3c76397 3/7: Remove some compat code from htmlfontify.el
Date: Tue, 18 Aug 2020 17:19:17 -0400 (EDT)

branch: master
commit 3c76397bbcad361a17087a24ff706f78b6abde3f
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Remove some compat code from htmlfontify.el
    
    * lisp/htmlfontify.el (hfy-color-vals): color-values is always
    defined.
---
 lisp/htmlfontify.el | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/lisp/htmlfontify.el b/lisp/htmlfontify.el
index 6265537..4d65397 100644
--- a/lisp/htmlfontify.el
+++ b/lisp/htmlfontify.el
@@ -556,10 +556,7 @@ If a window system is unavailable, calls 
`hfy-fallback-color-values'."
        '(1 2 3))
     ;;(message ">> %s" color)
     (if window-system
-        (if (fboundp 'color-values)
-            (color-values color)
-          ;;(message "[%S]" window-system)
-          (x-color-values color))
+        (color-values color)
       ;; blarg - tty colors are no good - go fetch some X colors:
       (hfy-fallback-color-values color))))
 (define-obsolete-function-alias 'hfy-colour-vals #'hfy-color-vals "27.1")



reply via email to

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