mu4e: don't be too eager to open view

When there's no view yet, don't automatically open one when moving.
This commit is contained in:
djcb
2015-10-13 16:16:10 +03:00
parent 1a33a710db
commit 0956c096de
2 changed files with 5 additions and 1 deletions

View File

@ -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)