1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

(info-lookup): Use display-color-p.

This commit is contained in:
Dave Love 2000-03-12 15:29:12 +00:00
parent 27cd44bcfa
commit 141d2f67cd

View file

@ -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))