aboutsummaryrefslogtreecommitdiffstats
path: root/lispref
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2004-12-27 19:55:14 +0000
committerRichard M. Stallman <[email protected]>2004-12-27 19:55:14 +0000
commit8f4300468bffc68d0ff04aa168333290d4870358 (patch)
tree9d0cd4eb60d0aea608135a655cb4030734eea37d /lispref
parentfead94d6b8be18f4cc99e89e6b5edf370a8f9f81 (diff)
(Killing Buffers): Add buffer-save-without-query.
Diffstat (limited to 'lispref')
-rw-r--r--lispref/ChangeLog2
-rw-r--r--lispref/buffers.texi7
2 files changed, 9 insertions, 0 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index 2c3c68e204..3c69975de4 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,5 +1,7 @@
2004-12-27 Richard M. Stallman <[email protected]>
+ * buffers.texi (Killing Buffers): Add buffer-save-without-query.
+
* modes.texi (Emulating Mode Line): Document format's BUFFER arg.
* display.texi (Line Height): Further clarify.
diff --git a/lispref/buffers.texi b/lispref/buffers.texi
index d39a0746fe..42131766ec 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.