mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
emacs: Do not attempt to render arbitrary application parts.
We probably shouldn't have been doing this anyway, but we do it here specifically because we don't want the content of the application/pgp-encrypted parts to be displayed and cluttering the message show.
This commit is contained in:
parent
82daf29187
commit
933011ccaf
1 changed files with 5 additions and 0 deletions
|
@ -524,6 +524,11 @@ current buffer, if possible."
|
|||
nil))
|
||||
nil))))
|
||||
|
||||
(defun notmuch-show-insert-part-application/* (msg part content-type nth depth declared-type
|
||||
)
|
||||
;; do not render random "application" parts
|
||||
(notmuch-show-insert-part-header nth content-type declared-type (plist-get part :filename)))
|
||||
|
||||
(defun notmuch-show-insert-part-*/* (msg part content-type nth depth declared-type)
|
||||
;; This handler _must_ succeed - it is the handler of last resort.
|
||||
(notmuch-show-insert-part-header nth content-type declared-type (plist-get part :filename))
|
||||
|
|
Loading…
Reference in a new issue