emerge-quit
emerge-quit is an interactive compiled Lisp function in `emerge.el
'.
(emerge-quit ARG)
Finish the Emerge session and exit Emerge.
Prefix argument means to abort rather than successfully finish.
The difference depends on how the merge was started,
but usually means to not write over one of the original files, or to signal
to some process which invoked Emerge a failure code.
Unselects the selected difference, if any, restores the read-only and modified
flags of the merged file buffers, restores the local keymap of the merge
buffer, and sets off various emerge flags. Using Emerge commands in this
buffer after this will cause serious problems.