aboutsummaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2022-08-01 08:39:18 -0300
committerDavid Bremner <david@tethera.net>2022-08-11 07:17:17 -0300
commitd273263d16433344cac77f54862c77535bf51e6a (patch)
tree794e4348aa0851bb9dcd454b421501e6279c4d1c /emacs
parent4de3eb4c0ea9337d2b9a7307eb3bbe5bad9ccced (diff)
emacs/show: restrict inlined mimetypes on refresh.
This fixes the bug reported by Al [1]. Essentially apply the same fix as [2] in a different place. [1]: id:877d41nmr1.fsf@gmail.com [2]: 90a7c1af368a527700dcde9b0dcbd760afc7bd92
Diffstat (limited to 'emacs')
-rw-r--r--emacs/notmuch-show.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index a6650678..619337b4 100644
--- a/emacs/notmuch-show.el
+++ b/emacs/notmuch-show.el
@@ -1528,6 +1528,7 @@ non-nil) then the state of the buffer (open/closed messages) is
reset based on the original query."
(interactive "P")
(let ((inhibit-read-only t)
+ (mm-inline-override-types (notmuch--inline-override-types))
(state (unless reset-state
(notmuch-show-capture-state))))
;; `erase-buffer' does not seem to remove overlays, which can lead