summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/files.el')
-rw-r--r--lisp/files.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index c2f945d5682..746e24e9747 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -2061,7 +2061,8 @@ If WILDCARD, it also runs the shell specified by `shell-file-name'."
file)))))))
(defvar kill-emacs-query-functions nil
- "Functions to call with no arguments to query about killing Emacs.")
+ "Functions to call with no arguments to query about killing Emacs.
+If any of these functions returns nil, killing Emacs is cancelled.")
(defun save-buffers-kill-emacs (&optional arg)
"Offer to save each buffer, then kill this Emacs process.