changeset 111706:aa78024b0867

shr.el (shr-get-background): Fix argument name.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Thu, 25 Nov 2010 01:13:37 +0000
parents cad125981c0f
children aa580ff3975a
files lisp/gnus/ChangeLog lisp/gnus/shr.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Wed Nov 24 22:54:47 2010 +0000
+++ b/lisp/gnus/ChangeLog	Thu Nov 25 01:13:37 2010 +0000
@@ -1,3 +1,7 @@
+2010-11-25  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+	* shr.el (shr-get-background): Fix argument name.
+
 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
 	* gnus-cache.el (gnus-summary-insert-cached-articles): Use it.
--- a/lisp/gnus/shr.el	Wed Nov 24 22:54:47 2010 +0000
+++ b/lisp/gnus/shr.el	Thu Nov 25 01:13:37 2010 +0000
@@ -522,7 +522,7 @@
 
 (defun shr-get-background (pos)
   "Return background color at POS."
-  (dolist (overlay (overlays-in start (1+ start)))
+  (dolist (overlay (overlays-in pos (1+ pos)))
     (let ((background (plist-get (overlay-get overlay 'face)
                                  :background)))
       (when background