diff options
author | Eli Zaretskii <eliz@gnu.org> | 2001-01-28 13:13:00 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2001-01-28 13:13:00 +0000 |
commit | 8005142f86a09b989b32998a1dd0e7c7b7af53ac (patch) | |
tree | 391adc6308ebae081ff9b3ca9497cdf7d982831c /lisp | |
parent | 83a96b4d5479a91a4b53d6a6eb348497bba93179 (diff) | |
download | emacs-8005142f86a09b989b32998a1dd0e7c7b7af53ac.tar.gz |
(isearch-highlight): Don't punt if the display
doesn't support colors, since isearch faces are defined for
monochrome displays as well.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 6 | ||||
-rw-r--r-- | lisp/isearch.el | 2 |
2 files changed, 7 insertions, 1 deletions
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 <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 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))) |