summaryrefslogtreecommitdiff
path: root/lispref/buffers.texi
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2004-12-27 19:55:14 +0000
committerRichard M. Stallman <rms@gnu.org>2004-12-27 19:55:14 +0000
commit8f4300468bffc68d0ff04aa168333290d4870358 (patch)
tree9d0cd4eb60d0aea608135a655cb4030734eea37d /lispref/buffers.texi
parentfead94d6b8be18f4cc99e89e6b5edf370a8f9f81 (diff)
downloademacs-8f4300468bffc68d0ff04aa168333290d4870358.tar.gz
(Killing Buffers): Add buffer-save-without-query.
Diffstat (limited to 'lispref/buffers.texi')
-rw-r--r--lispref/buffers.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/lispref/buffers.texi b/lispref/buffers.texi
index d39a0746fe1..42131766ec7 100644
--- a/lispref/buffers.texi
+++ b/lispref/buffers.texi
@@ -1041,6 +1041,13 @@ save that buffer, just as they offer to save file-visiting buffers.
for any reason. @xref{Buffer-Local Variables}.
@end defvar
+@defvar buffer-save-without-query
+This variable, if non-@code{nil} in a particular buffer, tells
+@code{save-buffers-kill-emacs} and @code{save-some-buffers} to save
+this buffer (if it's modified) without asking the user. The variable
+automatically becomes buffer-local when set for any reason.
+@end defvar
+
@defun buffer-live-p object
This function returns @code{t} if @var{object} is a buffer which has
not been killed, @code{nil} otherwise.