Mercurial > emacs
diff lisp/isearch.el @ 28100:5f10effee172
(isearch-highlight): Use display-color-p.
author | Dave Love <fx@gnu.org> |
---|---|
date | Sun, 12 Mar 2000 14:42:58 +0000 |
parents | 698ac7a47cc1 |
children | bb2bb38512a3 |
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))