|
From: | Heinz Rommerskirchen |
Subject: | Re: How to make a command ask "You *really* want to do this?" |
Date: | 29 Apr 2003 09:47:05 +0100 |
User-agent: | Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
dkcombs@panix.com (David Combs) writes: > What methods do *you* use for installing such > protections-from-oneself? Years ago I copied the following from the usenet into my .emacs (setq kill-emacs-query-functions (cons (lambda () (yes-or-no-p "Really kill Emacs? ")) kill-emacs-query-functions)) But since 21.1 (?) there is the variable confirm-kill-emacs -- Regards Heinz
[Prev in Thread] | Current Thread | [Next in Thread] |