mu4e: avoid error return to same message
This avoids a runtime error. Fix by holtzermann17 for Issue #910.
This commit is contained in:
@ -1529,7 +1529,7 @@ window. "
|
|||||||
"Rerun the search for the last search expression."
|
"Rerun the search for the last search expression."
|
||||||
(interactive)
|
(interactive)
|
||||||
;; if possible, try to return to the same message
|
;; 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))))
|
(msgid (and msg (mu4e-message-field msg :message-id))))
|
||||||
(mu4e-headers-search mu4e~headers-last-query nil nil t msgid)))
|
(mu4e-headers-search mu4e~headers-last-query nil nil t msgid)))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user