Mercurial > emacs
changeset 59148:6b3838433689
(Killing Buffers): Add buffer-save-without-query.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 27 Dec 2004 19:54:59 +0000 |
parents | 756fc0ba659e |
children | 9ce00b372735 |
files | lispref/buffers.texi |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/buffers.texi Mon Dec 27 17:29:34 2004 +0000 +++ b/lispref/buffers.texi Mon Dec 27 19:54:59 2004 +0000 @@ -1041,6 +1041,13 @@ 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.