mu4e: avoid error return to same message

This avoids a runtime error. Fix by holtzermann17 for Issue #910.
This commit is contained in:
djcb 2016-08-27 18:58:55 +03:00
parent 6a421f4d85
commit ae7f649a4a
1 changed files with 1 additions and 1 deletions

View File

@ -1529,7 +1529,7 @@ window. "
"Rerun the search for the last search expression."
(interactive)
;; if possible, try to return to the same message
(let* ((msg (mu4e-message-at-point))
(let* ((msg (mu4e-message-at-point t))
(msgid (and msg (mu4e-message-field msg :message-id))))
(mu4e-headers-search mu4e~headers-last-query nil nil t msgid)))