From: Julien Danjou Date: Wed, 24 Nov 2010 22:30:30 +0000 (+0100) Subject: shr-color: fix docstring X-Git-Url: https://cgit.sxemacs.org/?a=commitdiff_plain;h=ae5e7d9be0cb6fd0be90b3b5af2cd03e46dd2825;p=gnus shr-color: fix docstring Signed-off-by: Julien Danjou --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a778fc794..707626c1d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -13,6 +13,8 @@ 2010-11-24 Julien Danjou + * shr-color.el (shr-color-visible): Fix docstring. + * shr.el (shr-tag-table): Add bgcolor support. (shr-render-td): Add bgcolor support. diff --git a/lisp/shr-color.el b/lisp/shr-color.el index 0baacd738..2a4a6b3d4 100644 --- a/lisp/shr-color.el +++ b/lisp/shr-color.el @@ -318,8 +318,8 @@ If FIXED is t, then val1 will not be touched." (defun shr-color-visible (bg fg &optional fixed-background) "Check that BG and FG colors are visible if they are drawn on each other. -Return t if they are. If they are too similar, two new colors are -returned instead. +Return (bg fg) if they are. If they are too similar, two new +colors are returned instead. If FIXED-BACKGROUND is set, and if the color are not visible, a new background color will not be computed. Only the foreground color will be adapted to be visible on BG."