mirror of https://github.com/djcb/mu.git
mu4e: avoid error return to same message
This avoids a runtime error. Fix by holtzermann17 for Issue #910.
This commit is contained in:
parent
6a421f4d85
commit
ae7f649a4a
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue