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:
parent
682118f5a0
commit
e1c2ec5086
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue