]> git.eshelyaron.com Git - emacs.git/commitdiff
Use cl-reduce, not reduce.
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 25 Dec 2015 05:04:01 +0000 (06:04 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 25 Dec 2015 16:03:18 +0000 (17:03 +0100)
Backport:

(cherry picked from commit fe4606f93b91ff3d046aee0cf21ecc277af7a786)

lisp/net/shr.el

index 18eadcb0f91663b4ec524f1fb6966f23171fb787..8b51fc83f443aadd45f350d8f929aedf0e47b61e 100644 (file)
@@ -1581,8 +1581,8 @@ The preference is a float determined from `shr-prefer-media-type'."
       (car tbodies))
      (t
       ;; Table with multiple tbodies.  Convert into a single tbody.
-      `(tbody nil
-              ,@(reduce 'append (mapcar 'dom-non-text-children tbodies)))))))
+      `(tbody nil ,@(cl-reduce 'append
+                               (mapcar 'dom-non-text-children tbodies)))))))
 
 (defun shr-tag-table (dom)
   (shr-ensure-paragraph)