Mercurial > emacs
changeset 35699:8b517a93be94
(confirm-kill-emacs): Doc fix.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Mon, 29 Jan 2001 17:06:56 +0000 |
parents | 1251e295139f |
children | b6a758475262 |
files | lisp/files.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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))