Merge pull request #2547 from progfolio/feat/last-update-special-mode

mu4e: use special-mode for mu4e-last-update-buffer
This commit is contained in:
Dirk-Jan C. Binnema 2023-08-31 23:51:04 +03:00 committed by GitHub
commit 4d3d94d7b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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.