mirror of https://github.com/djcb/mu.git
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.
This commit is contained in:
parent
84cd6942c4
commit
3ba2c4ea08
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue