Barney Dalton wrote:
> 
> Hi I have sometimes press C-xC-c instead of C-vC-v.. when using the JDE,
> and end up quitting emacs - most annoying. Can I set something in my
> .emacs to get emacs to ask for confirmation after C-xC-c?
> 

From:
http://www.cs.washington.edu/homes/voelker/ntemacs.html#prompt-before-kill-emacs

(setq kill-emacs-query-functions
            (cons (lambda () (yes-or-no-p "Really kill Emacs? "))
                  kill-emacs-query-functions))



David
[EMAIL PROTECTED]

Reply via email to