diff options
| author | Tino Calancha | 2018-04-14 12:56:22 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2018-04-14 12:56:22 +0200 |
| commit | e1c2ec50862024f1db1f37d895ae119877fe30ce (patch) | |
| tree | 3c06fe001541f9d0f994396d43830077486bd645 | |
| parent | 682118f5a06eebdc38767047e65d42aa9356cfe8 (diff) | |
| download | emacs-e1c2ec50862024f1db1f37d895ae119877fe30ce.tar.gz emacs-e1c2ec50862024f1db1f37d895ae119877fe30ce.zip | |
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).
| -rw-r--r-- | lisp/gnus/mm-decode.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el index 69fc770ec72..18c5837dd54 100644 --- a/lisp/gnus/mm-decode.el +++ b/lisp/gnus/mm-decode.el | |||
| @@ -25,7 +25,6 @@ | |||
| 25 | 25 | ||
| 26 | (require 'mail-parse) | 26 | (require 'mail-parse) |
| 27 | (require 'mm-bodies) | 27 | (require 'mm-bodies) |
| 28 | (require 'shr) | ||
| 29 | (eval-when-compile (require 'cl-lib)) | 28 | (eval-when-compile (require 'cl-lib)) |
| 30 | 29 | ||
| 31 | (autoload 'gnus-map-function "gnus-util") | 30 | (autoload 'gnus-map-function "gnus-util") |
| @@ -1842,6 +1841,8 @@ text/html;\\s-*charset=\\([^\t\n\r \"'>]+\\)[^>]*>" nil t) | |||
| 1842 | (let ((inhibit-read-only t)) | 1841 | (let ((inhibit-read-only t)) |
| 1843 | (delete-region min max)))))))) | 1842 | (delete-region min max)))))))) |
| 1844 | 1843 | ||
| 1844 | (defvar shr-image-map) | ||
| 1845 | (defvar shr-map) | ||
| 1845 | (autoload 'widget-convert-button "wid-edit") | 1846 | (autoload 'widget-convert-button "wid-edit") |
| 1846 | (defvar widget-keymap) | 1847 | (defvar widget-keymap) |
| 1847 | 1848 | ||