Next: , Up: Visiting or Finding Files   [Index]


7.3.1.1 find-file

Function: find-file filename &optional wildcards

This command selects a buffer visiting the file FILENAME, using an existing buffer if there is one, and otherwise creating a new buffer and reading the file into it. It also returns that buffer. This function is equivalent to:

(switch-to-buffer (find-file-noselect filename nil nil wildcards))

See switch-to-buffer.

WILDCARDS

if non-nil, expand wildcard characters in FILENAME and visit all of the matching files. It is always true interactively.