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:
parent
27cd44bcfa
commit
141d2f67cd
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue