Mercurial > emacs
changeset 15486:8c2363919ae0
(gnus-background-mode): Set threshold for "light color"
at .6 of the total for white.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 22 Jun 1996 16:53:35 +0000 |
parents | d3b17e7049bf |
children | bf3ee2ec5068 |
files | lisp/gnus-ems.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/gnus-ems.el Sat Jun 22 16:51:43 1996 +0000 +++ b/lisp/gnus-ems.el Sat Jun 22 16:53:35 1996 +0000 @@ -127,7 +127,7 @@ ((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))