Remove some compat code from htmlfontify.el

* lisp/htmlfontify.el (hfy-color-vals): color-values is always
defined.
This commit is contained in:
Lars Ingebrigtsen 2020-08-18 23:11:02 +02:00
parent 66d8322e03
commit 3c76397bbc

View file

@ -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")