server-save-buffers-kill-terminal
server-save-buffers-kill-terminal is an autoloaded compiled Lisp function in `server.el
'.
(server-save-buffers-kill-terminal ARG)
Offer to save each buffer, then kill the current client.
With ARG non-nil, silently save all file-visiting buffers, then kill.
If emacsclient was started with a list of filenames to edit, then
only these files will be asked to be saved.