# HG changeset patch # User Eli Zaretskii # Date 980687495 0 # Node ID 6c4ff52315a3635ff5b614d1958da07d119f8bca # Parent b9366f4674307eb8643a1696a10498c288c9fb42 (isearch-highlight): Don't punt if the display doesn't support colors, since isearch faces are defined for monochrome displays as well. diff -r b9366f467430 -r 6c4ff52315a3 lisp/isearch.el --- a/lisp/isearch.el Sun Jan 28 11:23:07 2001 +0000 +++ b/lisp/isearch.el Sun Jan 28 13:11:35 2001 +0000 @@ -1744,7 +1744,7 @@ (defvar isearch-overlay nil) (defun isearch-highlight (beg end) - (unless (or (null search-highlight) (null (display-color-p))) + (unless (null search-highlight) (cond (isearch-overlay ;; Overlay already exists, just move it. (move-overlay isearch-overlay beg end (current-buffer)))