Next: find-file-other-window, Previous: find-file-literally, Up: Visiting or Finding Files [Index]
This function returns a buffer visiting the file FILENAME. It does not make the buffer current or display it in a window.
The function returns an existing buffer if there is one; otherwise it creates a new buffer and reads the file into it.
When this function uses an existing buffer, it first verifies that the file has not changed since it was last visited or saved in that buffer. If the file has changed, this function asks the user whether to reread the changed file. If the user says ‘yes’, any edits previously made in the buffer are lost.
This function normally calls after-find-file
after reading the file. This
function sets the buffer major mode, parses local variables, warns the user if
there exists an auto-save file more recent than the file just visited, and
finishes by running the functions in ‘find-file-hook’.
if non-nil, expand wildcard characters in FILENAME and visit all of the matching files.
if non-nil, do not issue warnings.
if non-nil, do not call after-find-file
, and
find-file-not-found-functions
are not run in case of failure, and
suppresses coding system conversion and format conversion.
usually returns the buffer that is visiting the file FILENAME. If WILDCARDS are used, it returns a list of buffers that are visiting various files.