summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/gnus/ChangeLog4
-rw-r--r--lisp/gnus/shr.el4
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 22378d6f372..3a3c72572ac 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,7 @@
+2010-10-08 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * shr.el (shr-table-widths): Don't use cl function `reduce'.
+
2010-10-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
* shr.el (require): Require cl when compiling.
diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el
index bb25a6c802d..ffc27e92ccd 100644
--- a/lisp/gnus/shr.el
+++ b/lisp/gnus/shr.el
@@ -548,8 +548,8 @@ Return a string with image data."
(aset natural-widths i (max (aref natural-widths i)
(cadr column)))
(setq i (1+ i)))))
- (let ((extra (- (reduce '+ suggested-widths)
- (reduce '+ widths)))
+ (let ((extra (- (apply '+ (append suggested-widths nil))
+ (apply '+ (append widths nil))))
(expanded-columns 0))
(when (> extra 0)
(dotimes (i length)