mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-11 09:20:51 +00:00
(Encoding and I/O): Reword to avoid saying
"visit the current buffer".
This commit is contained in:
parent
27a4f44552
commit
e2e3f1d7ee
@ -1,5 +1,8 @@
|
||||
2007-12-14 Martin Rudalics <rudalics@gmx.at>
|
||||
|
||||
* nonascii.texi (Encoding and I/O): Reword to avoid saying
|
||||
"visit the current buffer".
|
||||
|
||||
* os.texi (System Interface): Fix typo.
|
||||
|
||||
2007-12-04 Richard Stallman <rms@gnu.org>
|
||||
|
@ -727,15 +727,15 @@ operation finishes the job of choosing a coding system. Very often
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user