diff --git a/mu4e/mu4e-headers.el b/mu4e/mu4e-headers.el index 9ff6e0be..2c30a6ef 100644 --- a/mu4e/mu4e-headers.el +++ b/mu4e/mu4e-headers.el @@ -295,7 +295,6 @@ This is mostly useful for profiling.") "Number of headers hidden due to `mu4e-headers-hide-predicate'.") - ;;; Clear (defun mu4e~headers-clear (&optional text) @@ -307,11 +306,11 @@ Optionally, show TEXT." (let ((inhibit-read-only t)) (with-current-buffer (mu4e-get-headers-buffer) (mu4e--mark-clear) + (remove-overlays) (erase-buffer) (when text (goto-char (point-min)) (insert (propertize text 'face 'mu4e-system-face 'intangible t))))))) - ;;; Misc