diff lisp/info-look.el @ 28112:853a7fcaf7f0

(info-lookup): Use display-color-p.
author Dave Love <fx@gnu.org>
date Sun, 12 Mar 2000 15:29:12 +0000
parents d593a9e28430
children 23cb074f9d88
line wrap: on
line diff
--- a/lisp/info-look.el	Sun Mar 12 15:27:33 2000 +0000
+++ b/lisp/info-look.el	Sun Mar 12 15:29:12 2000 +0000
@@ -361,7 +361,7 @@
 		      (re-search-forward
 		       (concat prefix (regexp-quote item) suffix))
 		      (goto-char (match-beginning 0))
-		      (and window-system info-lookup-highlight-face
+		      (and (display-color-p) info-lookup-highlight-face
 			   ;; Search again for ITEM so that the first
 			   ;; occurence of ITEM will be highlighted.
 			   (re-search-forward (regexp-quote item))