From 6fd6d839d7a3f12c92b4e33193a31498adb77bd8 Mon Sep 17 00:00:00 2001 From: Eric Danan Date: Thu, 12 Jul 2018 11:37:19 +0200 Subject: [PATCH] mu4e: fix action to show thread for single-window mode When in single-window mode and invoking `mu4e-action-show-thread` from the view buffer, stay in the headers buffer rather than going back to the view buffer. --- mu4e/mu4e-actions.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mu4e/mu4e-actions.el b/mu4e/mu4e-actions.el index c4d7a155..e61a841f 100644 --- a/mu4e/mu4e-actions.el +++ b/mu4e/mu4e-actions.el @@ -362,7 +362,8 @@ display the message." (mu4e-headers-search (format "msgid:%s" msgid) nil nil nil - msgid (eq major-mode 'mu4e-view-mode)))))) + msgid (and (eq major-mode 'mu4e-view-mode) + (not (eq mu4e-split-view 'single-window)))))))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;