default-directory-alist

default-directory-alist is a variable defined in `dired-x.el'.
Its value is

((dired-mode if (fboundp 'dired-current-directory) (dired-current-directory) default-directory))


Documentation:
Alist of major modes and their opinion on `default-directory'.
Each element has the form (MAJOR . EXPRESSION).
The function `dired-default-directory' evaluates EXPRESSION to
determine a default directory.