v2 Image toggle fixes for emacs 29.1

Subject: v2 Image toggle fixes for emacs 29.1

Date: Sun, 24 Sep 2023 06:51:48 -0300

To: notmuch@notmuchmail.org


From: David Bremner

This obsoletes the series


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)))
 	(narrow-to-region part-beg part-end)
 	(delete-region part-beg part-end)

notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org