Disabling zip archives preview

David Edmondson dme at dme.org
Tue May 3 05:43:24 PDT 2016


On Tue, May 03 2016, Sanel Zukan wrote:
> Hi guys,
>
> Pardon me if this question was asked before, is it possible to disable
> automatic preview of zip/archive attachments and keep it toggled as
> hidden?
>
> I often get spam (who does not?) with zip archives and some javascript
> junk, which emacs happily open and tries to paint; beside
> stability/security implications (gobbled text could cause font-lock to
> go mad), I'm not fond of viewing that junk either.

Remove "application/zip" from `mm-inlined-types':

(setq mm-inlined-types (remove "application/zip" mm-inlined-types))


More information about the notmuch mailing list