[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master e1c2ec5: Subject: Fix circular dependency for mm-de
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master e1c2ec5: Subject: Fix circular dependency for mm-decode |
Date: |
Sat, 14 Apr 2018 06:56:42 -0400 (EDT) |
branch: master
commit e1c2ec50862024f1db1f37d895ae119877fe30ce
Author: Tino Calancha <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
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).
---
lisp/gnus/mm-decode.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el
index 69fc770..18c5837 100644
--- a/lisp/gnus/mm-decode.el
+++ b/lisp/gnus/mm-decode.el
@@ -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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master e1c2ec5: Subject: Fix circular dependency for mm-decode,
Lars Ingebrigtsen <=