Mercurial > emacs
changeset 99999:57eefe5edf84
(Format Conversion Round-Trip): Improve previous change.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Fri, 28 Nov 2008 03:32:06 +0000 |
parents | 740b02d3ea96 |
children | c59c0948852b |
files | doc/lispref/files.texi |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/lispref/files.texi Fri Nov 28 03:31:30 2008 +0000 +++ b/doc/lispref/files.texi Fri Nov 28 03:32:06 2008 +0000 @@ -2985,8 +2985,9 @@ This command writes the current buffer contents into the file @var{file} in format @var{format}, and makes that format the default for future saves of the buffer. That is, it sets the buffer-local value -of @code{buffer-file-format} to @var{format}, and replaces any existing -elements (except any with a non-nil @var{preserve} flag; see above). +of @code{buffer-file-format} to @var{format}. It then appends any +elements of the previous value with a non-nil @var{preserve} flag (see +above), if they are not already present in the new value. The argument @var{format} is a list of format names. Except for the @var{format} argument, this command is similar to @code{write-file}. In particular, @var{confirm} has the