Is there any way to exit Emacs without saving and without getting that annoying save prompt? Like q! in Vim.
Printable View
Is there any way to exit Emacs without saving and without getting that annoying save prompt? Like q! in Vim.
Personal fav:
Hmmm Ctrl-X-C....let me try it with half-saved documents...
OK that still asks to save; I have my GNU Emacs manual around here somewhere, will check and get back...
Peace
I don't know any way to disable that prompt. But I bet the frustration caused by accidentally quitting without saving something important is 10000 times higher than the frustration of having to type "yes" to quit with an unsaver buffer.
I gotta agree with Brewbuck on this one; I cannot think of a situation where this is the right answer. However Alt-F4 would probably work pretty darned well on Linux (universal close window command)..
will do what you want, and, of course, you can bind it to any key combination you choose.Code:M-x kill-emacs
You could try setting the variable "confirm-kill-emacs" to something non nil in your .emacs file. That's what get's checked by the exit command.