From: Eli Zaretskii Date: Sun, 28 Jan 2001 13:13:00 +0000 (+0000) Subject: (isearch-highlight): Don't punt if the display X-Git-Tag: emacs-pretest-21.0.96~6 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8005142f86a09b989b32998a1dd0e7c7b7af53ac;p=emacs.git (isearch-highlight): Don't punt if the display doesn't support colors, since isearch faces are defined for monochrome displays as well. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3662a6a1d5c..3e4f1ae7e33 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2001-01-28 Eli Zaretskii + + * isearch.el (isearch-highlight): Don't punt if the display + doesn't support colors, since isearch faces are defined for + monochrome displays as well. + 2001-01-27 Sam Steingold * shell.el (shell-write-history-on-exit): Make sure that we are in diff --git a/lisp/isearch.el b/lisp/isearch.el index ff63d5ab3d0..8a69d51a93b 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -1744,7 +1744,7 @@ If there is no completion possible, say so and continue searching." (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)))