From: Lars Ingebrigtsen Date: Tue, 18 Aug 2020 21:05:22 +0000 (+0200) Subject: Remove some compat code from woman.el X-Git-Tag: emacs-28.0.90~6534 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5a6ed46c74dae55092d43d0078b86e5158cdc717;p=emacs.git Remove some compat code from woman.el * lisp/woman.el (woman-fontify): Don't check for functions always defined. --- diff --git a/lisp/woman.el b/lisp/woman.el index c0e27c57077..891a1263ace 100644 --- a/lisp/woman.el +++ b/lisp/woman.el @@ -914,8 +914,8 @@ Troff emulation is experimental and largely untested. :group 'faces) (defcustom woman-fontify - (or (and (fboundp 'display-color-p) (display-color-p)) - (and (fboundp 'display-graphic-p) (display-graphic-p)) + (or (display-color-p) + (display-graphic-p) (x-display-color-p)) "If non-nil then WoMan assumes that face support is available. It defaults to a non-nil value if the display supports either colors