changeset 28112:853a7fcaf7f0

(info-lookup): Use display-color-p.
author Dave Love <fx@gnu.org>
date Sun, 12 Mar 2000 15:29:12 +0000
parents 90875cd704b5
children bfff8ed76f1c
files lisp/info-look.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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))