changeset 35661:6c4ff52315a3

(isearch-highlight): Don't punt if the display doesn't support colors, since isearch faces are defined for monochrome displays as well.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 28 Jan 2001 13:11:35 +0000
parents b9366f467430
children 11b616e892be
files lisp/isearch.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)))