diff options
| author | David Bremner <david@tethera.net> | 2022-08-01 08:39:18 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2022-08-11 07:17:17 -0300 |
| commit | d273263d16433344cac77f54862c77535bf51e6a (patch) | |
| tree | 794e4348aa0851bb9dcd454b421501e6279c4d1c | |
| parent | 4de3eb4c0ea9337d2b9a7307eb3bbe5bad9ccced (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
| -rw-r--r-- | emacs/notmuch-show.el | 1 | ||||
| -rwxr-xr-x | test/T450-emacs-show.sh | 1 |
2 files changed, 1 insertions, 1 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 diff --git a/test/T450-emacs-show.sh b/test/T450-emacs-show.sh index 6310ce7e..559df8aa 100755 --- a/test/T450-emacs-show.sh +++ b/test/T450-emacs-show.sh @@ -339,7 +339,6 @@ EOF test_expect_equal_file EXPECTED OUTPUT test_begin_subtest "tar not inlined by default on refresh" -test_subtest_known_broken test_emacs '(notmuch-show "id:874llc2bkp.fsf@curie.anarc.at") (notmuch-show-refresh-view) (test-visible-output "OUTPUT")' |
