summaryrefslogtreecommitdiff
path: root/lisp/info-look.el
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2000-03-12 15:29:12 +0000
committerDave Love <fx@gnu.org>2000-03-12 15:29:12 +0000
commit141d2f67cdecd47f7c570c63e5e0badf6449e940 (patch)
tree6c0e13ad9ec0b0b25b4c1fc6faf5ce549751f71b /lisp/info-look.el
parent27cd44bcfae3ac38b85019bc1e18cb5e8e53e3d8 (diff)
downloademacs-141d2f67cdecd47f7c570c63e5e0badf6449e940.tar.gz
(info-lookup): Use display-color-p.
Diffstat (limited to 'lisp/info-look.el')
-rw-r--r--lisp/info-look.el2
1 files changed, 1 insertions, 1 deletions
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))