X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-show.el;h=69f6c845571976965567c84d6de586f2ba8a587a;hb=817e53f4dbda45bfad22bc9b9fb75d9c90c49774;hp=7c1f02c92f1499be58df08929863d4e1aa013118;hpb=f9d8f9c6bae1a9ea60b41755008b71381464e208;p=notmuch diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 7c1f02c9..69f6c845 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -1264,14 +1264,8 @@ matched." (let ((buffer-name (generate-new-buffer-name (or buffer-name (concat "*notmuch-" thread-id "*")))) - ;; We override mm-inline-override-types to stop application/* - ;; parts from being displayed unless the user has customized - ;; it themselves. - (mm-inline-override-types - (if (equal mm-inline-override-types - (eval (car (get 'mm-inline-override-types 'standard-value)))) - (cons "application/*" mm-inline-override-types) - mm-inline-override-types))) + (mm-inline-override-types (notmuch--inline-override-types))) + (pop-to-buffer-same-window (get-buffer-create buffer-name)) ;; No need to track undo information for this buffer. (setq buffer-undo-list t)