aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-03-12 15:29:12 +0000
committerDave Love2000-03-12 15:29:12 +0000
commit141d2f67cdecd47f7c570c63e5e0badf6449e940 (patch)
tree6c0e13ad9ec0b0b25b4c1fc6faf5ce549751f71b
parent27cd44bcfae3ac38b85019bc1e18cb5e8e53e3d8 (diff)
downloademacs-141d2f67cdecd47f7c570c63e5e0badf6449e940.tar.gz
emacs-141d2f67cdecd47f7c570c63e5e0badf6449e940.zip
(info-lookup): Use display-color-p.
-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."
361 (re-search-forward 361 (re-search-forward
362 (concat prefix (regexp-quote item) suffix)) 362 (concat prefix (regexp-quote item) suffix))
363 (goto-char (match-beginning 0)) 363 (goto-char (match-beginning 0))
364 (and window-system info-lookup-highlight-face 364 (and (display-color-p) info-lookup-highlight-face
365 ;; Search again for ITEM so that the first 365 ;; Search again for ITEM so that the first
366 ;; occurence of ITEM will be highlighted. 366 ;; occurence of ITEM will be highlighted.
367 (re-search-forward (regexp-quote item)) 367 (re-search-forward (regexp-quote item))