Commit 5659b2fe authored by Eli Zaretskii's avatar Eli Zaretskii

* lisp/files.el (find-file-literally): Doc fix.

parent 9b24a793
......@@ -2342,10 +2342,15 @@ and local variable specifications in the file are ignored.
Automatic uncompression and adding a newline at the end of the
file due to `require-final-newline' is also disabled.
You cannot absolutely rely on this function to result in
visiting the file literally. If Emacs already has a buffer
which is visiting the file, you get the existing buffer,
regardless of whether it was created literally or not.
If Emacs already has a buffer which is visiting the file,
this command asks you whether to visit it literally instead.
In non-interactive use, the value is the buffer where the file is
visited literally. If the file was visited in a buffer before
this command was invoked, it will reuse the existing buffer,
regardless of whether it was created literally or not; however,
the contents of that buffer will be the literal text of the file
without any conversions.
In a Lisp program, if you want to be sure of accessing a file's
contents literally, you should create a temporary buffer and then read
......
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