find-file-run-dired

find-file-run-dired is a variable defined in `files.el'.
Its value is
t


Documentation:
Non-nil means allow `find-file' to visit directories.
To visit the directory, `find-file' runs `find-directory-functions'.

You can customize this variable.