mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Add a :distant-foreground to the lazy-highlight face
* lisp/isearch.el (lazy-highlight): Add a :distant-foreground colour so that the text is always legible (bug#16969).
This commit is contained in:
parent
8682756420
commit
a4eeea8124
1 changed files with 4 additions and 4 deletions
|
|
@ -430,13 +430,13 @@ and doesn't remove full-buffer highlighting after a search."
|
|||
|
||||
(defface lazy-highlight
|
||||
'((((class color) (min-colors 88) (background light))
|
||||
(:background "paleturquoise"))
|
||||
(:background "paleturquoise" :distant-foreground "black"))
|
||||
(((class color) (min-colors 88) (background dark))
|
||||
(:background "paleturquoise4"))
|
||||
(:background "paleturquoise4" :distant-foreground "white"))
|
||||
(((class color) (min-colors 16))
|
||||
(:background "turquoise3"))
|
||||
(:background "turquoise3" :distant-foreground "white"))
|
||||
(((class color) (min-colors 8))
|
||||
(:background "turquoise3"))
|
||||
(:background "turquoise3" :distant-foreground "white"))
|
||||
(t (:underline t)))
|
||||
"Face for lazy highlighting of matches other than the current one."
|
||||
:group 'lazy-highlight
|
||||
|
|
|
|||
Loading…
Reference in a new issue