mh-quit

mh-quit is an interactive autoloaded compiled Lisp function in `mh-folder.el'.


(mh-quit)

Quit the current MH-E folder.

When you want to quit using MH-E and go back to editing, you can use
this command. This buries the buffers of the current MH-E folder and
restores the buffers that were present when you first ran
M-x mh-rmail. It also removes any MH-E working buffers whose name
begins with " *mh-" or "*MH-E ". You can later restore your MH-E
session by selecting the "+inbox" buffer or by running M-x mh-rmail
again.

The two hooks `mh-before-quit-hook' and `mh-quit-hook' are called by
this function. The former one is called before the quit occurs, so you
might use it to perform any MH-E operations; you could perform some
query and abort the quit or call `mh-execute-commands', for example.
The latter is not run in an MH-E context, so you might use it to
modify the window setup.