diff options
| author | David Bremner <david@tethera.net> | 2022-03-19 07:07:54 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2022-05-16 07:12:47 -0300 |
| commit | 90a7c1af368a527700dcde9b0dcbd760afc7bd92 (patch) | |
| tree | 695813445e2a8a68b517d76caca4fbebc1d47521 /emacs | |
| parent | 817e53f4dbda45bfad22bc9b9fb75d9c90c49774 (diff) | |
emacs/reply: restrict what mime types are inlined by default
Apply the previously factored-out function used by notmuch-show.
Diffstat (limited to 'emacs')
| -rw-r--r-- | emacs/notmuch-mua.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index c679373b..60801f4b 100644 --- a/emacs/notmuch-mua.el +++ b/emacs/notmuch-mua.el @@ -316,7 +316,9 @@ Typically this is added to `notmuch-mua-send-hook'." ;; text. (notmuch-show-process-crypto process-crypto) ;; Don't indent multipart sub-parts. - (notmuch-show-indent-multipart nil)) + (notmuch-show-indent-multipart nil) + ;; Stop certain mime types from being inlined + (mm-inline-override-types (notmuch--inline-override-types))) ;; We don't want sigstatus buttons (an information leak and usually wrong anyway). (cl-letf (((symbol-function 'notmuch-crypto-insert-sigstatus-button) #'ignore) ((symbol-function 'notmuch-crypto-insert-encstatus-button) #'ignore)) |
