From: Glenn Morris Date: Fri, 28 Nov 2008 03:32:15 +0000 (+0000) Subject: (Format Conversion Round-Trip): Improve previous change. X-Git-Tag: emacs-pretest-23.0.90~1465 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a99dceba926c23b8b852772169da73ae6cb33254;p=emacs.git (Format Conversion Round-Trip): Improve previous change. --- diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 636bac2cb1a..e0d465a0a73 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,7 @@ +2008-11-28 Glenn Morris + + * files.texi (Format Conversion Round-Trip): Improve previous change. + 2008-11-26 Chong Yidong * modes.texi (Auto Major Mode): Fix example. diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index 8063daa470e..45b911fde9f 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi @@ -2985,8 +2985,9 @@ in the order of appearance in the list. 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