[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 5659b2f: * lisp/files.el (find-file-literally): D
[Emacs-diffs] emacs-26 5659b2f: * lisp/files.el (find-file-literally): Doc fix.
Fri, 6 Apr 2018 02:45:09 -0400 (EDT)
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
* lisp/files.el (find-file-literally): Doc fix.
lisp/files.el | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/lisp/files.el b/lisp/files.el
index 974d39c..1e44f43 100644
@@ -2342,10 +2342,15 @@ and local variable specifications in the file are
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
|[Prev in Thread]
||[Next in Thread]|
- [Emacs-diffs] emacs-26 5659b2f: * lisp/files.el (find-file-literally): Doc fix.,
Eli Zaretskii <=