diff options
author | Eli Zaretskii <eliz@gnu.org> | 2004-02-27 17:05:29 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2004-02-27 17:05:29 +0000 |
commit | 328419c117639c1af9557a9a07d0bfd80d36aeb3 (patch) | |
tree | 4b712079a2212b8c33408708d1cd2f3172467c22 /lisp/isearch.el | |
parent | a12d182ade4b9b403d74f0817b43db3015096763 (diff) | |
download | emacs-328419c117639c1af9557a9a07d0bfd80d36aeb3.tar.gz |
(isearch, isearch-lazy-highlight-face): Use `min-colors'.
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r-- | lisp/isearch.el | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el index d84510eb7a2..c0d694e84b1 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -2128,26 +2128,30 @@ A value of nil means highlight all matches." :group 'isearch) (defface isearch - '((((type tty pc) (class color)) - (:background "magenta4" :foreground "cyan1")) - (((class color) (background light)) + '((((class color) (min-colors 88) (background light)) ;; The background must not be too dark, for that means ;; the character is hard to see when the cursor is there. (:background "magenta2" :foreground "lightskyblue1")) - (((class color) (background dark)) + (((class color) (min-colors 88) (background dark)) (:background "palevioletred2" :foreground "brown4")) + (((class color) (min-colors 16)) + (:background "magenta4" :foreground "cyan1")) + (((class color) (min-colors 8)) + (:background "magenta4" :foreground "cyan1")) (t (:inverse-video t))) "Face for highlighting Isearch matches." :group 'isearch-faces) (defvar isearch 'isearch) (defface isearch-lazy-highlight-face - '((((type tty pc) (class color)) - (:background "turquoise3")) - (((class color) (background light)) + '((((class color) (min-colors 88) (background light)) (:background "paleturquoise")) - (((class color) (background dark)) + (((class color) (min-colors 88) (background dark)) (:background "paleturquoise4")) + (((class color) (min-colors 16)) + (:background "turquoise3")) + (((class color) (min-colors 8)) + (:background "turquoise3")) (t (:underline t))) "Face for lazy highlighting of Isearch matches other than the current one." :group 'isearch-faces) |