emacs: Apparently 'kill-this-buffer' doesn't work as you would expect from the name

This commit is contained in:
Charlotte Van Petegem 2024-06-11 16:40:52 +02:00
parent b912f81e40
commit c3925ee38c
No known key found for this signature in database
GPG key ID: 019E764B7184435A
2 changed files with 7 additions and 2 deletions

View file

@ -171,7 +171,7 @@ in
)
)
;; Never actually quit mu4e, just close the current buffer (making sure the modeline is still visible)
(defalias 'mu4e-quit 'kill-this-buffer)
(defalias 'mu4e-quit 'chvp--kill-current-buffer)
(define-advice mu4e--context-ask-user
(:around (orig-fun &rest args) mu4e--context-ask-user-completing-read)
"Replace `mu4e-read-option` by general-purpose completing-read"