From: Katsumi Yamaoka Date: Fri, 8 Oct 2010 01:51:08 +0000 (+0000) Subject: shr.el (shr-table-widths): Don't use cl function `reduce'. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~46^2~134 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=863b61d662deede3e01d1b0cba8c110064a7407b;p=emacs.git shr.el (shr-table-widths): Don't use cl function `reduce'. --- 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 + + * shr.el (shr-table-widths): Don't use cl function `reduce'. + 2010-10-07 Lars Magne Ingebrigtsen * 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)