mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 10:28:09 +01:00
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]: 90a7c1af36
This commit is contained in:
parent
4de3eb4c0e
commit
d273263d16
2 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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")'
|
||||
|
|
Loading…
Reference in a new issue