diff options
| author | Dave Love | 2000-03-12 15:29:12 +0000 |
|---|---|---|
| committer | Dave Love | 2000-03-12 15:29:12 +0000 |
| commit | 141d2f67cdecd47f7c570c63e5e0badf6449e940 (patch) | |
| tree | 6c0e13ad9ec0b0b25b4c1fc6faf5ce549751f71b | |
| parent | 27cd44bcfae3ac38b85019bc1e18cb5e8e53e3d8 (diff) | |
| download | emacs-141d2f67cdecd47f7c570c63e5e0badf6449e940.tar.gz emacs-141d2f67cdecd47f7c570c63e5e0badf6449e940.zip | |
(info-lookup): Use display-color-p.
| -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." | |||
| 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)) |