emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A wish, a plea


From: Nic James Ferrier
Subject: Re: A wish, a plea
Date: Fri, 22 Jun 2007 12:54:57 +0100

Glyn Millington <address@hidden> writes:

> Another way round - pretty sure this isn't mine!!
>
> ;;; Don't quit unless you mean it!
>   (defun maybe-save-buffers-kill-emacs (really)
>       "If REALLY is 'yes', call save-buffers-kill-emacs."
>       (interactive "sAre you sure about this? ")
>       (if (equal really "yes")
>           (save-buffers-kill-emacs)))
>     (global-set-key [(control x) (control c)]
>   'maybe-save-buffers-kill-emacs)

It doesn't work for me. My braind had trained me to skip the question
(can't remember what response I was using, "no" presumably).

So the effect was the same thing as just quit.

-- 
Nic Ferrier
http://www.tapsellferrier.co.uk   




reply via email to

[Prev in Thread] Current Thread [Next in Thread]