From: Eli Zaretskii Date: Mon, 29 Jan 2001 17:06:56 +0000 (+0000) Subject: (confirm-kill-emacs): Doc fix. X-Git-Tag: emacs-pretest-21.0.97~36 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9c2ba08f6e4a4346e8eea939665ef3d0fa337f77;p=emacs.git (confirm-kill-emacs): Doc fix. --- diff --git a/lisp/files.el b/lisp/files.el index 275c2ef0b4f..243dd3a8442 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -3645,7 +3645,9 @@ but `kill-emacs', the low level primitive, does not. See also `kill-emacs-hook'.") (defcustom confirm-kill-emacs nil - "Ask for confirmation when leaving Emacs." + "How to ask for confirmation when leaving Emacs. +If nil, the default, don't ask at all. If the value is non-nil, it should +be a predicate function such as `yes-or-no-p'." :type '(choice (const :tag "Ask with yes-or-no-p" yes-or-no-p) (const :tag "Ask with y-or-n-p" y-or-n-p) (const :tag "Don't confirm" nil))