diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/isearch.el | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |