Mercurial > emacs
changeset 26770:2d8554ed8748
*** empty log message ***
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 08 Dec 1999 19:01:55 +0000 |
parents | 6059a830d589 |
children | 1cf89c82df78 |
files | lispref/anti.texi lispref/files.texi |
diffstat | 2 files changed, 17 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/anti.texi Wed Dec 08 18:45:56 1999 +0000 +++ b/lispref/anti.texi Wed Dec 08 19:01:55 1999 +0000 @@ -27,7 +27,9 @@ yourself. With no images, who needs the @code{display} text property? @item -The @code{field} text property has no special meaning. +The @code{field} text property has no special meaning; buffers are no +longer subdivided into fields. (The division of information into +fields is always rather arbitrary.) @item Faces have fewer attributes. The attributes @code{:family},
--- a/lispref/files.texi Wed Dec 08 18:45:56 1999 +0000 +++ b/lispref/files.texi Wed Dec 08 19:01:55 1999 +0000 @@ -322,19 +322,25 @@ @end itemize @end deffn -@deffn Command save-some-buffers &optional save-silently-p exiting +@deffn Command save-some-buffers &optional save-silently-p pred This command saves some modified file-visiting buffers. Normally it asks the user about each buffer. But if @var{save-silently-p} is non-@code{nil}, it saves all the file-visiting buffers without querying the user. -The optional @var{exiting} argument, if non-@code{nil}, requests this -function to offer also to save certain other buffers that are not -visiting files. These are buffers that have a non-@code{nil} -buffer-local value of @code{buffer-offer-save}. (A user who says @samp{yes} to -saving one of these is asked to specify a file name to use.) The -@code{save-buffers-kill-emacs} function passes a non-@code{nil} value -for this argument. +The optional @var{pred} argument controls which buffers to ask about. +If it is @code{nil}, that means to ask only about file-visiting buffers. +If it is @code{t}, that means also offer to save certain other non-file +buffers---those that have a non-@code{nil} buffer-local value of +@code{buffer-offer-save}. (A user who says @samp{yes} to saving a +non-file buffer is asked to specify the file name to use.) The +@code{save-buffers-kill-emacs} function passes the value @code{t} for +@var{pred}. + +If @var{pred} is neither @code{t} nor @code{nil}, then it should be +a function of no arguments. It will be called in each buffer to decide +whether to offer to save that buffer. If it returns a non-@code{nil} +value in a certain buffer, that means do offer to save that buffer. @end deffn @deffn Command write-file filename &optional confirm