mu4e: add prefix arg to mu4e-quit

Remove mu4e-main-quit-or-bury and simply update mu4e-quit
to take a prefix which, if non-nil, make mu4e-quit
bury the buffer rather than quite mu4e.

Also make the mu4e check for an existing mu4e buffer, and if found,
switch to it rather start mu4e.
This commit is contained in:
Dirk-Jan C. Binnema
2023-08-07 19:13:11 +03:00
parent 843c086b2c
commit 31bb84182b
4 changed files with 30 additions and 27 deletions

View File

@ -64,8 +64,9 @@
- also, there are now actions ('a' in view/header) to get to online archives
for some (selected) mailing-list archives.
- In the main-view, by default ~q~ is now bound to ~mu4e-main-quit-or-bury~,
which calls either ~mu4e-quit~ or, with prefix argument, ~bury-buffer~.
- ~mu4e-quit~ now takes a prefix argument which, if provided, causes it to
bury he mu main buffer, rather than quitting mu. ~mu4e~ will now just switch
the mu4e buffer if it exists (otherwise it starts ~mu4e~).
- ~mu4e~ benefits from the mentioned speed-ups in querying, and adds some of
its own - e.g., for showing 500 messages (debug build), we went from 642ms