]> code.delx.au - gnu-emacs/commitdiff
(Killing Buffers): Add buffer-save-without-query.
authorRichard M. Stallman <rms@gnu.org>
Mon, 27 Dec 2004 19:55:14 +0000 (19:55 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 27 Dec 2004 19:55:14 +0000 (19:55 +0000)
lispref/ChangeLog
lispref/buffers.texi

index 2c3c68e204dc4012077eaef492f6e9e9ffa8e31d..3c69975de4be712821d77b35aadd6de99c2b3b9b 100644 (file)
@@ -1,5 +1,7 @@
 2004-12-27  Richard M. Stallman  <rms@gnu.org>
 
+       * 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.
index d39a0746fe115ec6c28dc2a8dea66e7bc59e7c01..42131766ec716721f33238ccdfaaac02d77256e2 100644 (file)
@@ -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.