From 3ba2c4ea08b5f9631556718c1f9b59d5213ea15b Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Mon, 15 Aug 2022 23:09:35 +0300 Subject: [PATCH] mu4e-headers: do not nillify mu4e~view-message In mu4e~headers-clear, do not set mu4e~view~message to nil; it may still be in use. --- mu4e/mu4e-headers.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mu4e/mu4e-headers.el b/mu4e/mu4e-headers.el index cc7acd92..1ae0cd7d 100644 --- a/mu4e/mu4e-headers.el +++ b/mu4e/mu4e-headers.el @@ -352,8 +352,7 @@ This is mostly useful for profiling.") "Clear the headers buffer and related data structures. Optionally, show TEXT." (when (buffer-live-p (mu4e-get-headers-buffer)) - (setq mu4e~headers-render-start (float-time) - mu4e~view-message nil) + (setq mu4e~headers-render-start (float-time)) (let ((inhibit-read-only t)) (with-current-buffer (mu4e-get-headers-buffer) (mu4e--mark-clear)