aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-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.
3645See also `kill-emacs-hook'.") 3645See also `kill-emacs-hook'.")
3646 3646
3647(defcustom confirm-kill-emacs nil 3647(defcustom confirm-kill-emacs nil
3648 "Ask for confirmation when leaving Emacs." 3648 "How to ask for confirmation when leaving Emacs.
3649If nil, the default, don't ask at all. If the value is non-nil, it should
3650be a predicate function such as `yes-or-no-p'."
3649 :type '(choice (const :tag "Ask with yes-or-no-p" yes-or-no-p) 3651 :type '(choice (const :tag "Ask with yes-or-no-p" yes-or-no-p)
3650 (const :tag "Ask with y-or-n-p" y-or-n-p) 3652 (const :tag "Ask with y-or-n-p" y-or-n-p)
3651 (const :tag "Don't confirm" nil)) 3653 (const :tag "Don't confirm" nil))