[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 1b082c8: MH-E: don't automatically download exter
From: |
Mike Kupfer |
Subject: |
[Emacs-diffs] emacs-26 1b082c8: MH-E: don't automatically download external-body parts |
Date: |
Sun, 19 Nov 2017 13:48:21 -0500 (EST) |
branch: emacs-26
commit 1b082c886c9e2213a85b820c7f07cd5a30b8b99b
Author: Mike Kupfer <address@hidden>
Commit: Mike Kupfer <address@hidden>
MH-E: don't automatically download external-body parts
* lisp/mh-e/mh-mime.el (mh-mime-display-single): Use
mm-automatic-display-p to verify that a part should be
displayed before doing the inline checks (SF#475).
---
lisp/mh-e/mh-mime.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lisp/mh-e/mh-mime.el b/lisp/mh-e/mh-mime.el
index 9d1edf0..69c57e0 100644
--- a/lisp/mh-e/mh-mime.el
+++ b/lisp/mh-e/mh-mime.el
@@ -659,6 +659,7 @@ buttons for alternative parts that are usually suppressed."
(attachmentp (equal (car (mm-handle-disposition handle))
"attachment"))
(inlinep (and (equal (car (mm-handle-disposition handle)) "inline")
+ (mm-automatic-display-p handle)
(mm-inlinable-p handle)
(mm-inlined-p handle)))
(displayp (or inlinep ; show if inline OR
@@ -669,6 +670,7 @@ buttons for alternative parts that are usually suppressed."
(and (not (equal
(mm-handle-media-supertype handle)
"image"))
+ (mm-automatic-display-p handle)
(mm-inlinable-p handle)
(mm-inlined-p handle)))))))
(save-restriction
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 1b082c8: MH-E: don't automatically download external-body parts,
Mike Kupfer <=