aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1996-06-22 16:53:35 +0000
committerRichard M. Stallman <[email protected]>1996-06-22 16:53:35 +0000
commit52175688917c99686962b19e039c50f7338528c3 (patch)
tree53bca5b1908697e6cdad701bd11156528158c275 /lisp
parentf42b62e4b86ee20a01cb089340ae5996e64a8b43 (diff)
(gnus-background-mode): Set threshold for "light color"
at .6 of the total for white.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/gnus-ems.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus-ems.el b/lisp/gnus-ems.el
index 04a32e039c..a759acfc3b 100644
--- a/lisp/gnus-ems.el
+++ b/lisp/gnus-ems.el
@@ -127,7 +127,7 @@ pounce directly on the real variables themselves.")
((and (cdr (assq 'background-color params))
(< (apply '+ (x-color-values
(cdr (assq 'background-color params))))
- (/ (apply '+ (x-color-values "white")) 3)))
+ (* (apply '+ (x-color-values "white")) .6)))
'dark)
(t 'light)))
(error 'light))