[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/nonascii.texi
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/nonascii.texi |
Date: |
Sat, 02 Mar 2002 07:04:23 -0500 |
Index: emacs/lispref/nonascii.texi
diff -c emacs/lispref/nonascii.texi:1.30 emacs/lispref/nonascii.texi:1.31
*** emacs/lispref/nonascii.texi:1.30 Fri Nov 9 11:21:34 2001
--- emacs/lispref/nonascii.texi Sat Mar 2 07:04:21 2002
***************
*** 615,626 ****
@defvar buffer-file-coding-system
This variable records the coding system that was used for visiting the
current buffer. It is used for saving the buffer, and for writing part
! of the buffer with @code{write-region}. When those operations ask the
! user to specify a different coding system,
! @code{buffer-file-coding-system} is updated to the coding system
! specified.
! However, @code{buffer-file-coding-system} does not affect sending text
to a subprocess.
@end defvar
--- 615,629 ----
@defvar buffer-file-coding-system
This variable records the coding system that was used for visiting 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.
! @code{buffer-file-coding-system} does @emph{not} affect sending text
to a subprocess.
@end defvar
***************
*** 633,641 ****
@code{buffer-file-coding-system} (or @code{save-buffer-coding-system}),
and that coding system cannot handle
the actual text in the buffer, the command asks the user to choose
! another coding system. After that happens, the command also updates
! @code{buffer-file-coding-system} to represent the coding system that the
! user specified.
@end defvar
@defvar last-coding-system-used
--- 636,645 ----
@code{buffer-file-coding-system} (or @code{save-buffer-coding-system}),
and that coding system cannot handle
the actual text in the buffer, the command asks the user to choose
! another coding system (by calling @code{select-safe-coding-system}).
! After that happens, the command also updates
! @code{buffer-file-coding-system} to represent the coding system that
! the user specified.
@end defvar
@defvar last-coding-system-used
***************
*** 739,744 ****
--- 743,749 ----
@node User-Chosen Coding Systems
@subsection User-Chosen Coding Systems
+ @cindex select safe coding system
@defun select-safe-coding-system from to &optional default-coding-system
accept-default-p
This function selects a coding system for encoding specified text,
asking the user to choose if necessary. Normally the specified text
- [Emacs-diffs] Changes to emacs/lispref/nonascii.texi,
Eli Zaretskii <=