]> rtime.felk.cvut.cz Git - sojka/company-mode.git/commitdiff
Changed selection color for low-color displays.
authorNikolaj Schumacher <git@nschum.de>
Fri, 20 Mar 2009 11:44:07 +0000 (12:44 +0100)
committerNikolaj Schumacher <git@nschum.de>
Fri, 20 Mar 2009 12:01:36 +0000 (13:01 +0100)
company.el

index 84bf46c2cd348d432ea4e7f7f0f9c286b6df2d69..7aca3c89e7eb9b3483ec82eab32fdfd9abd31e01 100644 (file)
@@ -78,8 +78,9 @@
   :group 'company)
 
 (defface company-tooltip-selection
-  '((t :background "orange1"
-       :foreground "black"))
+  '((default :inherit company-tooltip)
+    (((class color) (min-colors 88)) (:background "orange1"))
+    (t (:background "green")))
   "*Face used for the selection in the tool tip."
   :group 'company)