From 0956c096decd628b69336c564b9c08c1640f5b31 Mon Sep 17 00:00:00 2001 From: djcb Date: Tue, 13 Oct 2015 16:16:10 +0300 Subject: [PATCH] mu4e: don't be too eager to open view When there's no view yet, don't automatically open one when moving. --- NEWS.org | 3 +++ mu4e/mu4e-headers.el | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/NEWS.org b/NEWS.org index 954a4f88..3055b192 100644 --- a/NEWS.org +++ b/NEWS.org @@ -6,6 +6,9 @@ - change the message file names to better conform to the maildir spec; this was confusing some tools. + - fix navigation when not running in split-view mode + - add mu4e-view-body-face, so the body-face for message in the view can be customized; e.g. + (set-face-attribute 'mu4e-view-body-face nil :font "Liberation Serif-10") ** 0.9.13 diff --git a/mu4e/mu4e-headers.el b/mu4e/mu4e-headers.el index 3111a0fb..7015da10 100644 --- a/mu4e/mu4e-headers.el +++ b/mu4e/mu4e-headers.el @@ -1448,7 +1448,8 @@ 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 - (mu4e-headers-view-message) + (when (window-live-p mu4e~headers-view-win) + (mu4e-headers-view-message)) docid))) (defun mu4e-headers-next (&optional n)