Path: utzoo!mnetor!tmsoft!torsqnt!hybrid!scifi!bywater!arnor!arnor!marc From: marc@arnor.uucp Newsgroups: comp.emacs Subject: Re: trap-kill-emacs Message-ID: Date: 11 Feb 91 14:24:40 GMT References: <4485@osc.COM> Sender: news@arnor.uucp (NNTP News Poster) Organization: IBM T.J. Watson Research Center, Hawthorne, New York Lines: 16 In-Reply-To: Dan_Jacobson@ATT.COM's message of 8 Feb 91 13:42:42 GMT I just put a prompt on it - (defun ctrlxctrlc () "Careful exit from emacs" (interactive) (if (y-or-n-p "Do you really want to exit emacs? ") (save-buffers-kill-emacs) (message "") )) (global-set-key "\C-x\C-c" 'ctrlxctrlc) That has been good enough for me. -- Marc Auslander