diff options
author | Dave Love <fx@gnu.org> | 2000-03-12 15:29:12 +0000 |
---|---|---|
committer | Dave Love <fx@gnu.org> | 2000-03-12 15:29:12 +0000 |
commit | 141d2f67cdecd47f7c570c63e5e0badf6449e940 (patch) | |
tree | 6c0e13ad9ec0b0b25b4c1fc6faf5ce549751f71b /lisp/info-look.el | |
parent | 27cd44bcfae3ac38b85019bc1e18cb5e8e53e3d8 (diff) | |
download | emacs-141d2f67cdecd47f7c570c63e5e0badf6449e940.tar.gz |
(info-lookup): Use display-color-p.
Diffstat (limited to 'lisp/info-look.el')
-rw-r--r-- | lisp/info-look.el | 2 |
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)) |