Commit 8005142f authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(isearch-highlight): Don't punt if the display

doesn't support colors, since isearch faces are defined for
monochrome displays as well.
parent 83a96b4d
2001-01-28 Eli Zaretskii <eliz@is.elta.co.il>
* 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 <sds@gnu.org>
 
* shell.el (shell-write-history-on-exit): Make sure that we are in
......
......@@ -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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment