From 8f4300468bffc68d0ff04aa168333290d4870358 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 27 Dec 2004 19:55:14 +0000 Subject: [PATCH] (Killing Buffers): Add buffer-save-without-query. --- lispref/ChangeLog | 2 ++ lispref/buffers.texi | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 2c3c68e204d..3c69975de4b 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog @@ -1,5 +1,7 @@ 2004-12-27 Richard M. Stallman + * 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 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. -- 2.39.5