diff options
author | Dave Love <fx@gnu.org> | 2000-03-12 14:42:58 +0000 |
---|---|---|
committer | Dave Love <fx@gnu.org> | 2000-03-12 14:42:58 +0000 |
commit | 8076388da3a7801c45f675d186a6e29781671df4 (patch) | |
tree | 1579e76c6bfd9bed8df2431ce8992cf0a626006d /lisp/isearch.el | |
parent | a21cf96d5a88c5c1171eac794dc841d7fd9fa302 (diff) | |
download | emacs-8076388da3a7801c45f675d186a6e29781671df4.tar.gz |
(isearch-highlight): Use display-color-p.
Diffstat (limited to 'lisp/isearch.el')
-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)) |