headers: require proc-view even for gnus

Temporary measure, so e.g. view-in-browser works

Fixes #1579.
This commit is contained in:
Dirk-Jan C. Binnema 2020-02-21 19:24:51 +02:00
parent bd6865a00b
commit 837ab0b703
1 changed files with 10 additions and 5 deletions

View File

@ -1702,11 +1702,16 @@ window. "
(mu4e-error "Cannot get a message view"))
(select-window viewwin)
(switch-to-buffer (mu4e~headers-get-loading-buf))
;; note, in the 'gnus' case, we don't need to call the server to get the
;; body etc., we only need the path which we already have.
(if mu4e-view-use-gnus
(mu4e-view msg)
(mu4e~proc-view docid mu4e-view-show-images decrypt))))
;; Note, ideally in the 'gnus' case, we don't need to call the server to get
;; the body etc., we only need the path which we already have.
;;
;; However, for now we still need the body for e.g. view-in-browser so let's
;; not yet do that.
;; (if mu4e-view-use-gnus
;; (mu4e-view msg)
;; (mu4e~proc-view docid mu4e-view-show-images decrypt))
(mu4e~proc-view docid mu4e-view-show-images decrypt)))
(defun mu4e-headers-rerun-search ()
"Rerun the search for the last search expression."