emacs-diffs
[Top][All Lists]
Advanced

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

master 5a6ed46 1/7: Remove some compat code from woman.el


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

branch: master
commit 5a6ed46c74dae55092d43d0078b86e5158cdc717
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Remove some compat code from woman.el
    
    * lisp/woman.el (woman-fontify): Don't check for functions always
    defined.
---
 lisp/woman.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/woman.el b/lisp/woman.el
index c0e27c5..891a126 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



reply via email to

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