Mercurial > emacs
changeset 28100:5f10effee172
(isearch-highlight): Use display-color-p.
author | Dave Love <fx@gnu.org> |
---|---|
date | Sun, 12 Mar 2000 14:42:58 +0000 |
parents | 18744efb17ba |
children | b59523f7ce40 |
files | lisp/isearch.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/isearch.el Sun Mar 12 14:42:35 2000 +0000 +++ b/lisp/isearch.el Sun Mar 12 14:42:58 2000 +0000 @@ -1699,7 +1699,7 @@ (defvar isearch-overlay nil) (defun isearch-highlight (beg end) - (if (or (null search-highlight) (null window-system)) + (if (or (null search-highlight) (null (display-color-p))) nil (or isearch-overlay (setq isearch-overlay (make-overlay beg end))) (move-overlay isearch-overlay beg end (current-buffer))