]> 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 05:04:01 +0000 (06:04 +0100)
lisp/net/shr.el

index 0b1a4dac6a4409a78e9eaa5f7253a42c179d3fa3..8a3f73e0f8304bea49c5ce220d811020ed7bc13c 100644 (file)
@@ -1588,8 +1588,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)