shr-color: fix docstring
authorJulien Danjou <julien@danjou.info>
Wed, 24 Nov 2010 22:30:30 +0000 (23:30 +0100)
committerJulien Danjou <julien@danjou.info>
Wed, 24 Nov 2010 22:44:12 +0000 (23:44 +0100)
Signed-off-by: Julien Danjou <julien@danjou.info>
lisp/ChangeLog
lisp/shr-color.el

index a778fc7..707626c 100644 (file)
@@ -13,6 +13,8 @@
 
 2010-11-24  Julien Danjou  <julien@danjou.info>
 
+       * shr-color.el (shr-color-visible): Fix docstring.
+
        * shr.el (shr-tag-table): Add bgcolor support.
        (shr-render-td): Add bgcolor support.
 
index 0baacd7..2a4a6b3 100644 (file)
@@ -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."