summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-01-29 17:06:56 +0000
committerEli Zaretskii <eliz@gnu.org>2001-01-29 17:06:56 +0000
commit9c2ba08f6e4a4346e8eea939665ef3d0fa337f77 (patch)
treefe4134e0433bad8aedbef77e90c5f152251a2444
parentff2a1c79f5a90d02e804e8ae51c510d2251b007a (diff)
downloademacs-9c2ba08f6e4a4346e8eea939665ef3d0fa337f77.tar.gz
(confirm-kill-emacs): Doc fix.
-rw-r--r--lisp/files.el4
1 files changed, 3 insertions, 1 deletions
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))