Commit 7951ad77 authored by Eli Zaretskii's avatar Eli Zaretskii

(Reading from Files): Document that null bytes force no-conversion when visiting

files.
parent 538395d9
......@@ -500,7 +500,10 @@ the list @code{after-insert-file-functions}. @xref{Format Conversion}.
Normally, one of the functions in the
@code{after-insert-file-functions} list determines the coding system
(@pxref{Coding Systems}) used for decoding the file's contents,
including end-of-line conversion.
including end-of-line conversion. However, if the file contains null
bytes, it is by default visited without any code conversions; see
@ref{Lisp and Coding Systems, inhibit-null-byte-detection}, for how to
control this behavior.
If @var{visit} is non-@code{nil}, this function additionally marks the
buffer as unmodified and sets up various fields in the buffer so that it
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment