find-directory-functions

find-directory-functions is a variable defined in `files.el'.
Its value is
(cvs-dired-noselect dired-noselect)

  • This variable may be risky if used as a file-local variable.

Documentation:
List of functions to try in sequence to visit a directory.
Each function is called with the directory name as the sole argument
and should return either a buffer or nil.

You can customize this variable.