diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2020-08-18 23:05:22 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-08-18 23:19:09 +0200 |
commit | 5a6ed46c74dae55092d43d0078b86e5158cdc717 (patch) | |
tree | f6172b5be574e3735a6bddcd38c90f98ecfaedf6 /lisp/woman.el | |
parent | a9086efcf1c5b26e9f5f63f39fda10709cc8555f (diff) | |
download | emacs-5a6ed46c74dae55092d43d0078b86e5158cdc717.tar.gz |
Remove some compat code from woman.el
* lisp/woman.el (woman-fontify): Don't check for functions always
defined.
Diffstat (limited to 'lisp/woman.el')
-rw-r--r-- | lisp/woman.el | 4 |
1 files changed, 2 insertions, 2 deletions
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 |