diff options
| author | Glenn Morris | 2008-12-02 03:40:15 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-12-02 03:40:15 +0000 |
| commit | fa047ae7025373f512b0fca9eb3febdcd8ae8c00 (patch) | |
| tree | 65299fdf368870ec18324c52ceac97ffea3aa6e5 | |
| parent | 78151cd534f3dd142aa6c09e529115b7aa92f156 (diff) | |
| download | emacs-fa047ae7025373f512b0fca9eb3febdcd8ae8c00.tar.gz emacs-fa047ae7025373f512b0fca9eb3febdcd8ae8c00.zip | |
(Format Conversion Round-Trip): Rewrite format-write-file section yet again.
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/files.texi | 22 |
2 files changed, 16 insertions, 11 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index cd16218f5e5..749ead0708c 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-12-02 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * files.texi (Format Conversion Round-Trip): Rewrite format-write-file | ||
| 4 | section yet again. | ||
| 5 | |||
| 1 | 2008-11-29 Eli Zaretskii <eliz@gnu.org> | 6 | 2008-11-29 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * nonascii.texi (Character Properties): New Section. | 8 | * nonascii.texi (Character Properties): New Section. |
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index 45b911fde9f..9bd882f5776 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -2982,17 +2982,17 @@ encoding functions for the formats listed in @code{buffer-file-format}, | |||
| 2982 | in the order of appearance in the list. | 2982 | in the order of appearance in the list. |
| 2983 | 2983 | ||
| 2984 | @deffn Command format-write-file file format &optional confirm | 2984 | @deffn Command format-write-file file format &optional confirm |
| 2985 | This command writes the current buffer contents into the file | 2985 | This command writes the current buffer contents into the file @var{file} |
| 2986 | @var{file} in format @var{format}, and makes that format the default | 2986 | in a format based on @var{format}, which is a list of format names. It |
| 2987 | for future saves of the buffer. That is, it sets the buffer-local value | 2987 | constructs the actual format starting from @var{format}, then appending |
| 2988 | of @code{buffer-file-format} to @var{format}. It then appends any | 2988 | any elements from the value of @code{buffer-file-format} with a non-nil |
| 2989 | elements of the previous value with a non-nil @var{preserve} flag (see | 2989 | @var{preserve} flag (see above), if they are not already present in |
| 2990 | above), if they are not already present in the new value. | 2990 | @var{format}. It then updates @code{buffer-file-format} with this |
| 2991 | The argument @var{format} is a list of format names. | 2991 | format, making it the default for future saves. Except for the |
| 2992 | Except for the @var{format} argument, this command | 2992 | @var{format} argument, this command is similar to @code{write-file}. In |
| 2993 | is similar to @code{write-file}. In particular, @var{confirm} has the | 2993 | particular, @var{confirm} has the same meaning and interactive treatment |
| 2994 | same meaning and interactive treatment as the corresponding argument | 2994 | as the corresponding argument to @code{write-file}. @xref{Definition of |
| 2995 | to @code{write-file}. @xref{Definition of write-file}. | 2995 | write-file}. |
| 2996 | @end deffn | 2996 | @end deffn |
| 2997 | 2997 | ||
| 2998 | @deffn Command format-find-file file format | 2998 | @deffn Command format-find-file file format |