unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* v2 Image toggle fixes for emacs 29.1
@ 2023-09-24  9:51 David Bremner
  2023-09-24  9:51 ` [PATCH v2 1/4] emacs: save undisplayer function for MIME parts David Bremner
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: David Bremner @ 2023-09-24  9:51 UTC (permalink / raw)
  To: notmuch

This obsoletes the series

     id:20230916235137.334886-2-david@tethera.net

The update consists of the following bugfix:

diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index 7a4b489d..4cc5aa57 100644
--- a/emacs/notmuch-show.el
+++ b/emacs/notmuch-show.el
@@ -1036,7 +1036,7 @@ will return nil if the CID is unknown or cannot be retrieved."
 	   ;; We have to save the depth as we can't find the depth
 	   ;; when narrowed.
 	   (depth (notmuch-show-get-depth))
-	   (mime-type (plist-get part-args :computed-type)))
+	   (mime-type (plist-get (cadr part-args) :computed-type)))
       (save-restriction
 	(narrow-to-region part-beg part-end)
 	(delete-region part-beg part-end)



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-10-01 19:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-24  9:51 v2 Image toggle fixes for emacs 29.1 David Bremner
2023-09-24  9:51 ` [PATCH v2 1/4] emacs: save undisplayer function for MIME parts David Bremner
2023-09-24  9:51 ` [PATCH v2 2/4] emacs/show: save redisplay redisplay data when showing lazy part David Bremner
2023-09-24  9:51 ` [PATCH v2 3/4] emacs: save image redisplay data during non-lazy display David Bremner
2023-09-24  9:51 ` [PATCH v2 4/4] emacs/show: special case toggling display of images David Bremner
2023-10-01 11:13 ` v2 Image toggle fixes for emacs 29.1 David Bremner
2023-10-01 13:39   ` Michael J Gruber
2023-10-01 19:08     ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).