From 3cf073052908b22e49e91aef00f67b3064d08cb1 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Sun, 12 Mar 2000 14:42:58 +0000 Subject: [PATCH] (isearch-highlight): Use display-color-p. --- lisp/isearch.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/isearch.el b/lisp/isearch.el index 2682e9f0b9e..0a3b0e26bdb 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -1699,7 +1699,7 @@ If there is no completion possible, say so and continue searching." (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)) -- 2.11.4.GIT