mu4e: fix for split-view

Commit 5708a173fa fixes some behavior for non-split-view, but
inadvertently changed the behavior for split-view as well.

Fix this.
This commit is contained in:
djcb
2015-11-21 13:24:44 +02:00
parent 5708a173fa
commit cec825eec1

View File

@ -1452,7 +1452,7 @@ docid. Otherwise, return nil."
;; attempt to highlight the new line, display the message
(mu4e~headers-highlight docid)
;; update message view if it was already showing
(when mu4e-split-view
(when (and mu4e-split-view (window-live-p mu4e~headers-view-win))
(mu4e-headers-view-message))
docid)))