From 141d2f67cdecd47f7c570c63e5e0badf6449e940 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Sun, 12 Mar 2000 15:29:12 +0000 Subject: [PATCH] (info-lookup): Use display-color-p. --- lisp/info-look.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/info-look.el b/lisp/info-look.el index dc9cb0bec81..3ae7b701a12 100644 --- a/lisp/info-look.el +++ b/lisp/info-look.el @@ -361,7 +361,7 @@ If optional argument QUERY is non-nil, query for the help mode." (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)) -- 2.39.5