aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/files.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index cf6f0213706..9a4b748b14f 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -2231,7 +2231,10 @@ If WILDCARD, it also runs the shell specified by `shell-file-name'."
2231 2231
2232(defvar kill-emacs-query-functions nil 2232(defvar kill-emacs-query-functions nil
2233 "Functions to call with no arguments to query about killing Emacs. 2233 "Functions to call with no arguments to query about killing Emacs.
2234If any of these functions returns nil, killing Emacs is cancelled.") 2234If any of these functions returns nil, killing Emacs is cancelled.
2235`save-buffers-kill-emacs' (\\[save-buffers-kill-emacs]) calls these functions,
2236but `kill-emacs', the low level primitive, does not.
2237See also `kill-emacs-hook'.")
2235 2238
2236(defun save-buffers-kill-emacs (&optional arg) 2239(defun save-buffers-kill-emacs (&optional arg)
2237 "Offer to save each buffer, then kill this Emacs process. 2240 "Offer to save each buffer, then kill this Emacs process.