Subject: Fix circular dependency for mm-decode

* lisp/gnus/mm-decode.el: Do not require shr.el at the top
of the file; `mm-shr' already requires shr.el in its body, and
this function is the only `mm-convert-shr-links' caller (Bug#31151).
This commit is contained in:
Tino Calancha 2018-04-14 12:56:22 +02:00 committed by Lars Ingebrigtsen
parent 682118f5a0
commit e1c2ec5086

View file

@ -25,7 +25,6 @@
(require 'mail-parse)
(require 'mm-bodies)
(require 'shr)
(eval-when-compile (require 'cl-lib))
(autoload 'gnus-map-function "gnus-util")
@ -1842,6 +1841,8 @@ text/html;\\s-*charset=\\([^\t\n\r \"'>]+\\)[^>]*>" nil t)
(let ((inhibit-read-only t))
(delete-region min max))))))))
(defvar shr-image-map)
(defvar shr-map)
(autoload 'widget-convert-button "wid-edit")
(defvar widget-keymap)