summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-08-18 23:05:22 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2020-08-18 23:19:09 +0200
commit5a6ed46c74dae55092d43d0078b86e5158cdc717 (patch)
treef6172b5be574e3735a6bddcd38c90f98ecfaedf6
parenta9086efcf1c5b26e9f5f63f39fda10709cc8555f (diff)
downloademacs-5a6ed46c74dae55092d43d0078b86e5158cdc717.tar.gz
Remove some compat code from woman.el
* lisp/woman.el (woman-fontify): Don't check for functions always defined.
-rw-r--r--lisp/woman.el4
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