aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2009-01-10 12:42:58 +0000
committerEli Zaretskii2009-01-10 12:42:58 +0000
commit7951ad77ddb6351312bd5c88af082af80787612e (patch)
tree1c8d2f5cf8ae2938438a2de8ea3511572cb9521a
parent538395d97addaa025ee1101f5e1cc1a767560e07 (diff)
downloademacs-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.texi5
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}.
500Normally, one of the functions in the 500Normally, 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,
503including end-of-line conversion. 503including end-of-line conversion. However, if the file contains null
504bytes, it is by default visited without any code conversions; see
505@ref{Lisp and Coding Systems, inhibit-null-byte-detection}, for how to
506control this behavior.
504 507
505If @var{visit} is non-@code{nil}, this function additionally marks the 508If @var{visit} is non-@code{nil}, this function additionally marks the
506buffer as unmodified and sets up various fields in the buffer so that it 509buffer as unmodified and sets up various fields in the buffer so that it