From cec825eec11b12aad37356bdbdc302d3816590e5 Mon Sep 17 00:00:00 2001 From: djcb Date: Sat, 21 Nov 2015 13:24:44 +0200 Subject: [PATCH] mu4e: fix for split-view Commit 5708a173fa1 fixes some behavior for non-split-view, but inadvertently changed the behavior for split-view as well. Fix this. --- mu4e/mu4e-headers.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mu4e/mu4e-headers.el b/mu4e/mu4e-headers.el index 3c004c63..5fcd55ce 100644 --- a/mu4e/mu4e-headers.el +++ b/mu4e/mu4e-headers.el @@ -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)))