Next: find-file-noselect, Previous: find-file, Up: Visiting or Finding Files [Index]
This command visits FILENAME, like ‘find-file’ does, but it does not perform any format conversions (*note Format Conversion::), character code conversions (*note Coding Systems::), or end-of-line conversions (*note End of line conversion: Coding System Basics.). The buffer visiting the file is made unibyte, and its major mode is Fundamental mode, regardless of the file name. File local variable specifications in the file (*note File Local Variables::) are ignored, and automatic decompression and adding a newline at the end of the file due to ‘require-final-newline’ (*note require-final-newline: Saving Buffers.) are also disabled.
If you want to be sure of accessing a file’s contents literally, you should
create a temporary buffer and then read the file contents into it using
insert-file-contents-literally
(*note Reading from Files::).