Consulte o manual do Emacs, nó Saindo . Lá você verá isso:
If the value of the variable
confirm-kill-emacsis non-nil,C-x C-cassumes that its value is a predicate function, and calls that function. If the result of the function call is non-nil, the session is killed, otherwise Emacs continues to run. One convenient function to use as the value ofconfirm-kill-emacsis the functionyes-or-no-p. The default value ofconfirm-kill-emacsisnil.To kill Emacs without being prompted about saving, type
M-x kill-emacs.
E você pode vincular kill-emacs a qualquer chave (incluindo C-x C-c ).