From: Richard M. Stallman Date: Mon, 27 Dec 2004 19:55:14 +0000 (+0000) Subject: (Killing Buffers): Add buffer-save-without-query. X-Git-Tag: ttn-vms-21-2-B4~3102 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8f4300468bffc68d0ff04aa168333290d4870358;p=emacs.git (Killing Buffers): Add buffer-save-without-query. --- 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.