# HG changeset patch # User Eli Zaretskii # Date 980788016 0 # Node ID 8b517a93be940cb3402eed38ccf4879460b84c6c # Parent 1251e295139fc65e783c2bb776644b115b4ba05c (confirm-kill-emacs): Doc fix. diff -r 1251e295139f -r 8b517a93be94 lisp/files.el --- a/lisp/files.el Mon Jan 29 17:01:52 2001 +0000 +++ b/lisp/files.el Mon Jan 29 17:06:56 2001 +0000 @@ -3645,7 +3645,9 @@ 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))