diff options
| author | Eli Zaretskii | 2009-01-10 12:42:58 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2009-01-10 12:42:58 +0000 |
| commit | 7951ad77ddb6351312bd5c88af082af80787612e (patch) | |
| tree | 1c8d2f5cf8ae2938438a2de8ea3511572cb9521a | |
| parent | 538395d97addaa025ee1101f5e1cc1a767560e07 (diff) | |
| download | emacs-7951ad77ddb6351312bd5c88af082af80787612e.tar.gz emacs-7951ad77ddb6351312bd5c88af082af80787612e.zip | |
(Reading from Files): Document that null bytes force no-conversion when visiting
files.
| -rw-r--r-- | doc/lispref/files.texi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index c6209c6b546..17d439725d5 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -500,7 +500,10 @@ the list @code{after-insert-file-functions}. @xref{Format Conversion}. | |||
| 500 | Normally, one of the functions in the | 500 | Normally, one of the functions in the |
| 501 | @code{after-insert-file-functions} list determines the coding system | 501 | @code{after-insert-file-functions} list determines the coding system |
| 502 | (@pxref{Coding Systems}) used for decoding the file's contents, | 502 | (@pxref{Coding Systems}) used for decoding the file's contents, |
| 503 | including end-of-line conversion. | 503 | including end-of-line conversion. However, if the file contains null |
| 504 | bytes, it is by default visited without any code conversions; see | ||
| 505 | @ref{Lisp and Coding Systems, inhibit-null-byte-detection}, for how to | ||
| 506 | control this behavior. | ||
| 504 | 507 | ||
| 505 | If @var{visit} is non-@code{nil}, this function additionally marks the | 508 | If @var{visit} is non-@code{nil}, this function additionally marks the |
| 506 | buffer as unmodified and sets up various fields in the buffer so that it | 509 | buffer as unmodified and sets up various fields in the buffer so that it |