From 9c2ba08f6e4a4346e8eea939665ef3d0fa337f77 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 29 Jan 2001 17:06:56 +0000 Subject: [PATCH] (confirm-kill-emacs): Doc fix. --- lisp/files.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)) -- 2.39.5