Some mm-* functions end up calling (gnus-article-mode), which breaks
notmuch.
---
emacs/notmuch-lib.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el
index c7bb2091..8ca416d4 100644
--- a/emacs/notmuch-lib.el
+++ b/emacs/notmuch-lib.el
@@ -694,6 +694,8 @@ current buffer, if possible."
(when (mm-inlinable-p handle)
(set-buffer display-buffer)
(mm-display-part handle)
+ ;; restore major mode if changed by gnus
+ (notmuch-show-mode)
t))))))
;;; Generic Utilities
--
2.30.2
_______________________________________________
notmuch mailing list -- [email protected]
To unsubscribe send an email to [email protected]