Mercurial > emacs
changeset 87276:c9e81d5cb2e7
(Encoding and I/O): Reword to avoid saying
"visit the current buffer".
author | Martin Rudalics <rudalics@gmx.at> |
---|---|
date | Fri, 14 Dec 2007 07:38:22 +0000 |
parents | 493b90ddb256 |
children | 34b7f7a49003 |
files | doc/lispref/nonascii.texi |
diffstat | 1 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/lispref/nonascii.texi Fri Dec 14 06:58:44 2007 +0000 +++ b/doc/lispref/nonascii.texi Fri Dec 14 07:38:22 2007 +0000 @@ -727,15 +727,15 @@ you will want to find out afterwards which coding system was chosen. @defvar buffer-file-coding-system -This buffer-local variable records the coding system that was used to visit -the current buffer. It is used for saving the buffer, and for writing part -of the buffer with @code{write-region}. If the text to be written -cannot be safely encoded using the coding system specified by this -variable, these operations select an alternative encoding by calling -the function @code{select-safe-coding-system} (@pxref{User-Chosen -Coding Systems}). If selecting a different encoding requires to ask -the user to specify a coding system, @code{buffer-file-coding-system} -is updated to the newly selected coding system. +This buffer-local variable records the coding system used for saving the +buffer and for writing part of the buffer with @code{write-region}. If +the text to be written cannot be safely encoded using the coding system +specified by this variable, these operations select an alternative +encoding by calling the function @code{select-safe-coding-system} +(@pxref{User-Chosen Coding Systems}). If selecting a different encoding +requires to ask the user to specify a coding system, +@code{buffer-file-coding-system} is updated to the newly selected coding +system. @code{buffer-file-coding-system} does @emph{not} affect sending text to a subprocess.