mirror of https://github.com/djcb/mu.git
mu4e: use special-mode for mu4e-last-update-buffer
This buffer is not intended to be edited. Special mode also allows quickly dismissing via the quit-window binding.
This commit is contained in:
parent
82152d7fb3
commit
579ef175a9
|
@ -257,6 +257,7 @@ To override this behavior, customize `display-buffer-alist'."
|
|||
(when (get-buffer mu4e-last-update-buffer)
|
||||
(kill-buffer mu4e-last-update-buffer))
|
||||
(with-current-buffer mu4e--update-buffer
|
||||
(special-mode)
|
||||
(clone-buffer mu4e-last-update-buffer))
|
||||
;; and kill the buffer itself; the cloning is needed
|
||||
;; so the temp window handling works as expected.
|
||||
|
|
Loading…
Reference in New Issue